How to create API client from Spotify Developer Dashboard

Mine Aktaş
2 min readAug 3, 2023

--

To create an API client from the Spotify Developer Dashboard, you can follow the steps below:

  1. Log in to the Spotify Developer Dashboard: First, you need to log in to the Spotify Developer Dashboard. If you don’t have a Spotify account, you can sign up for free.
  2. Create an App: After logging in, select an option like “Create an App” or “Create an API App.” This step allows you to create a new API client.
  3. Enter App Information: Provide the necessary information to create a new API client. This information typically includes:
  • App Name: The name of the API client (e.g., “My Music Taste App”).
  • App Description: A brief description of the API client.
  • App Type: Mark it as “Commercial” or “Non-Commercial” (usually selected as “Non-Commercial”).
  • Redirect URIs: This is the URL that will be used to receive an authorization code from the Spotify API. You can leave this field empty or add a temporary placeholder.
create an app

4. Create the App: After filling in the required information, click the “Create” or “Submit” button to create the API client.

5. Obtain API Keys and Authentication: Once the API client is created, Spotify will provide you with a “Client ID” and “Client Secret.” These keys will be used for authentication when accessing the Spotify API.

6. Use the API Client: Now, with the “Client ID” and “Client Secret” you obtained, you can access the Spotify API and use the API client in your Python code.

Note: When using the Spotify API, it’s essential to securely store your secret keys. Instead of directly writing these keys in your code, it’s safer to use environment variables or configuration files. This way, you can help protect your keys from malicious use.

--

--

Mine Aktaş
Mine Aktaş

No responses yet