Skip to content

Commit 535e5ab

Browse files
feat: clean up environment call outs
1 parent 288eb7d commit 535e5ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,14 @@ pip install --pre zbdpay[aiohttp]
8383
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
8484

8585
```python
86-
import os
8786
import asyncio
8887
from zbdpay import DefaultAioHttpClient
8988
from zbdpay import AsyncZbdPayments
9089

9190

9291
async def main() -> None:
9392
async with AsyncZbdPayments(
94-
apikey=os.environ.get("ZBD_PAYMENTS_API_KEY"), # This is the default and can be omitted
93+
apikey="My Apikey",
9594
http_client=DefaultAioHttpClient(),
9695
) as client:
9796
await client.lightning_address.send_payment(

0 commit comments

Comments
 (0)