(Windows 10 desktop)
My Question or Issue
Is there any way to get track genre information with Spotify API (python)?
I want to determine the.genre of songs in my own playlist. Isn't that possible?
On Spotify, playlists have tracks, tracks have artists, and artists have genres. I think that's simple enough.
I edited my comment, and added "On Spotify". My comment is about how the API of Spotify works, and is not my personal opinion.
You can get the genre information with the Get Artist, or the Get Several Artists endpoint.
If you are using SpotiPy, you can use the commands sp.artist(artist_id) or sp.artists(artist_ids_list).
Because these endpoints don't require Authorization Scopes, you can use Client Credentials.