Authentication

API.audio uses API keys to authenticate requests. You can view and manage your API keys in the developer dashboard.

❗️

Be very careful with your API keys

Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Use your API key by assigning it to apiaudio.api_key. The Python library will then automatically send this key in each request.

API requests without authentication will fail.

import apiaudio

apiaudio.api_key = 'your_key'

Did this page help you?