Рет қаралды 7,289
This tutorial will show you how to get a users playlists from the Spotify API.
We use a library called Spotipy to make this easier, and you can build on top of this to retrieve other things like songs, artists, albums and much much more.
If you want a more deeper understanding of the Spotify API and OAuth, check this video:
• Spotify API OAuth - Au...
📚 MY FAVOURITE PROGRAMMING BOOKS 📚
Python Programming 👉 amzn.to/3TxsJx6
Python Programming 2 👉 amzn.to/3IVa0GL
HTML/CSS 👉 amzn.to/3vrKBBs
Javascript and jQuery 👉 amzn.to/3TWiOmc
Java 👉 amzn.to/49dcJWN
Programming Interviews 👉 amzn.to/3TCr218
Programming Interviews 2 👉 amzn.to/3VA6Dwp
Programming Interviews 3 👉 amzn.to/49iGSUp
⌨️ MY DESK SETUP (I ACTUALLY USE) ⌨️
Keyboard 1 👉 amzn.to/43Bizjx
Keyboard 2 👉 amzn.to/4cABlLO
Keyboard 3 👉 amzn.to/3Vy9aHm
Mouse 👉 amzn.to/4cwMxJy
Monitor 👉 amzn.to/3TxxczD
📹 CREATOR SETUP 📹
Camera Canon M50 👉amzn.to/3PDphQ8
Condenser Microphone 👉 amzn.to/3vvmMJ2
Condenser Audio Interface 👉 amzn.to/3Vvf1xe
Microphone Arm 👉 amzn.to/49cHACH
Video Light 👉amzn.to/3PEUvGz
📱 GET IN TOUCH:
Website: imdad.codes
Instagram: / imdadcodes
TikTok: / imdadcodes
Medium: / imdadcodes
❤️ LIKE
It takes me a long time to make these videos, please give the video a thumbs up 💪
🎬 WATCH NEXT
Programming Advice and Inspiration - • Programming Advice & I...
Python Projects - • Python Projects 👨🍳
Learn Python with Exercises - • Playlist
Learn Programming Without Writing Code - • Learn Programming With...
✅ SUBSCRIBE:
www.youtube.com/@imdadcodes?s...
ℹ️ ABOUT THIS VIDEO:
In this video, we'll go over how you can get a users playlists with the Spotify API. We'll use a library called Spotipy which makes it so much easier to get everything from songs and artists to albums and playlists from the Spotify API. I'll show you how you can build your own web server that lets a user log in with their Spotify and keeps them logged in.
Python is the world's most popular programming language in 2020. Python is a great programming language that's used by the likes of Google, Facebook, Twitter, Quora and pretty much every big tech company you can name. It's used everywhere, whether it's in competitive programming, coding interviews, areas of data science, machine learning and algorithmic trading. Follow me as I continue to produce Python tutorials that will help you become a rockstar programmer. Subscribe for all tutorials and videos related to web development, full stack engineering, react native and much more.
💁🏽♂️ WHO AM I:
I'm Imdad, a startup founder and CTO in London, UK. I love making videos about life as a technical cofounder, teaching people to code through cool programming projects and productivity.
I even teach Python tutorials as it is a great programming language that's used by the likes of Google, Facebook, Twitter, Quora and pretty much every big tech company you can name.
#SpotifyAPI #SpotifyAPIAuthorization #SpotifyAPIPython
TIMESTAMPS:
00:00 What we're building
01:36 Deep Dive into the Spotipy API Documentation
08:03 Setting up the Python Project (VSCode) and Virtual Environment
11:14 Installing Dependencies
14:12 Setting up the Flask App
16:34 Explaining the Session
19:19 Getting the Client ID & Secret from the Spotify Developer Dashboard
21:00 Importing Spotipy and Setting Up Authentication
26:26 Adding Login with Spotify (home)
30:15 Refreshing the Token (callback)
33:19 Getting User Playlists from Spotify
38:49 Running the App
Disclaimer: The links above are affiliate links. If you decide to purchase any of these products through my links, I'll receive a small commission at no extra cost to you. This helps support my channel, and I only recommend products that I've personally used and believe in.