Write a Program to Display Artist, Tracks, & More Using Python and Spotify’s API
In this video, Tim from @TechWithTim explains how to gain access to the Spotify API to write a program. You’ll learn how to get your Spotify access token and how to use that token to interact with different endpoints so that you can write your own program using data from Spotify.
Chapters:
0:00 Introduction
0:45 Create Spotify Project
5:50 How does Authorization Work?
8:44 Obtain Access Token
12:30 Convert Data to Python Dictionary
13:20 Test Run of our Code
15:00 Write Artist Search Function
20:55 Grabbing Items in Results
25:00 Run our Code
25:16 Clean up the Results
26:00 Conclusion
New to Linode? Get started here with a $100 credit!
Watch this video for an introduction to APIs.
Read the guide on choosing a Python API framework.
Subscribe to get notified of new episodes as they come out.
#Linode #Spotify #API #TechWithTim
Product: Linode, API, Tokens; @TechWithTim ;