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 385fea6 commit 0d829a6Copy full SHA for 0d829a6
README.md
@@ -85,14 +85,15 @@ pip install cloudflare[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 cloudflare import DefaultAioHttpClient
91
from cloudflare import AsyncCloudflare
92
93
94
async def main() -> None:
95
async with AsyncCloudflare(
- api_token="Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY",
96
+ api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
97
http_client=DefaultAioHttpClient(),
98
) as client:
99
zone = await client.zones.create(
0 commit comments