We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97e980 commit 7d18cd9Copy full SHA for 7d18cd9
hole/__init__.py
@@ -40,9 +40,10 @@ def __init__(
40
41
async def get_data(self):
42
"""Get details of a *hole instance."""
43
+ params = "summaryRaw&auth={}".format(self.api_token)
44
try:
45
async with async_timeout.timeout(5):
- response = await self._session.get(self.base_url)
46
+ response = await self._session.get(self.base_url, params=params)
47
48
_LOGGER.debug("Response from *hole: %s", response.status)
49
self.data = await response.json()
0 commit comments