How to Use Spotify's API with Python | Write a Program to Display Artist, Tracks, and More
New to Cloud Computing? Get started here with a $100 credit → https://www.linode.com/lp/youtube-viewers/?utm_source=youtube&utm_medium=dev_advocacy&utm_content=spotapi_twt_12_07_22
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
Watch this video for an introduction to APIs → https://www.youtube.com/watch?v=ArIyMXeHwi0
Read the guide on choosing a Python API framework → https://www.linode.com/docs/guides/how-to-choose-python-api-framework/
Subscribe to get notified of new episodes as they come out → https://www.youtube.com/linode?sub_confirmation=1
#Linode #Spotify #API #TechWithTim
Product: Linode, API, Tokens; @TechWithTim ;