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 a7a6330 commit 29ae3a9Copy full SHA for 29ae3a9
README.md
@@ -85,14 +85,15 @@ pip install lithic[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 lithic import DefaultAioHttpClient
91
from lithic import AsyncLithic
92
93
94
async def main() -> None:
95
async with AsyncLithic(
- api_key="My Lithic API Key",
96
+ api_key=os.environ.get("LITHIC_API_KEY"), # This is the default and can be omitted
97
http_client=DefaultAioHttpClient(),
98
) as client:
99
card = await client.cards.create(
0 commit comments