Usage
The full API of this library can be found in api.md.api_key keyword argument,
we recommend using python-dotenv
to add TELNYX_API_KEY="My API Key" to your .env file
so that your API Key is not stored in source control.
Async usage
Simply importAsyncTelnyx instead of Telnyx and use await with each API call:
With aiohttp
By default, the async client useshttpx for HTTP requests. However, for improved concurrency performance you may also use aiohttp as the HTTP backend.
You can enable this by installing aiohttp:
http_client=DefaultAioHttpClient():