Member-only story
Discovering your Music Taste with Python and Spotify API
A Step-by-Step Guide to Accessing Spotify Data and Creating a Radar Chart
It’s almost the end of 2020! If you have been using Spotify for years, you probably know at the end of each year, Spotify will provide premium users personalized insights, such as your favorite songs and artists, and how much time you spent on the services, etc. As a data scientist, I wanted to take a look at all the songs’ audio features from the Discovery Weekly playlist and see what music features I enjoy the most based on my listening history on Spotify.
Setting Up Spotify’s Web API
If you are new to API, you probably are wondering what an API is and does. In short, you can think of API as a shortcut into a web service’s database. It allows programmers to send and receive data without giving them full permission on the entire database. Check out Spotify Web API documentation to know more about what you can do with the API. In the following,
To get started, you will need to log into your Spotify account or create a new Spotify account. Then you can go to your…