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 2677a96 commit ecac1f6Copy full SHA for ecac1f6
README.md
@@ -79,15 +79,14 @@ pip install onebusaway[aiohttp]
79
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
80
81
```python
82
-import os
83
import asyncio
84
from onebusaway import DefaultAioHttpClient
85
from onebusaway import AsyncOnebusawaySDK
86
87
88
async def main() -> None:
89
async with AsyncOnebusawaySDK(
90
- api_key=os.environ.get("ONEBUSAWAY_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
91
http_client=DefaultAioHttpClient(),
92
) as client:
93
current_time = await client.current_time.retrieve()
0 commit comments