We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ece4535 commit 2c2fa17Copy full SHA for 2c2fa17
README.md
@@ -84,14 +84,15 @@ pip install gcore[aiohttp]
84
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
85
86
```python
87
+import os
88
import asyncio
89
from gcore import DefaultAioHttpClient
90
from gcore import AsyncGcore
91
92
93
async def main() -> None:
94
async with AsyncGcore(
- api_key="My API Key",
95
+ api_key=os.environ.get("GCORE_API_KEY"), # This is the default and can be omitted
96
http_client=DefaultAioHttpClient(),
97
) as client:
98
project = await client.cloud.projects.create(
0 commit comments