[Python] Spotify - access token from command line

Discussão em 'Python' iniciado por Stack, Junho 12, 2025.

  1. Stack

    Stack Membro Participativo

    I am testing my app using the terminal, which is quite handy in a pre-development phase.

    So far, I have used spotipy.Spotify(client_credentials_manager=client_credentials_manager) within my Python scripts in order to access data.

    SpotifyClientCredentials() requires client_id and client_secret as parameters.

    Now I need to access analysis_url data, which requires an access token.

    Is there a way to include this access token requirement via my Python script ran on the command line, or do I have to build an app on the browser just to do a simple test?

    Continue reading...

Compartilhe esta Página