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 366d69a commit b8c7ffbCopy full SHA for b8c7ffb
README.md
@@ -85,14 +85,17 @@ pip install beeper_desktop_api[aiohttp]
85
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
86
87
```python
88
+import os
89
import asyncio
90
from beeper_desktop_api import DefaultAioHttpClient
91
from beeper_desktop_api import AsyncBeeperDesktop
92
93
94
async def main() -> None:
95
async with AsyncBeeperDesktop(
- access_token="My Access Token",
96
+ access_token=os.environ.get(
97
+ "BEEPER_ACCESS_TOKEN"
98
+ ), # This is the default and can be omitted
99
http_client=DefaultAioHttpClient(),
100
) as client:
101
page = await client.chats.search(
0 commit comments