Python YouTube API Tutorial: Sort a Playlist by Most Popular Videos
Corey Schafer Corey Schafer
1.3M subscribers
46,854 views
0

 Published On Jul 31, 2020

In this Python Programming Tutorial, we'll be learning how to get the most popular videos in a YouTube playlist. I use scripts like this a lot personally when I don't have time to watch an entire playlist and want to only see the most-watched videos. Surprisingly YouTube doesn't have this ability on their site, but Python allows us to do this programmatically. Let's get started...

The code for this video can be found at:
https://bit.ly/YouTubeAPI-03

YouTube API Tutorial -    • Python YouTube API Tutorial: Getting ...  
F-Strings Tutorial -    • Python Quick Tip: F-Strings - How to ...  
Sorting Tutorial -    • Python Tutorial: Sorting Lists, Tuple...  
Slicing Tutorial -    • Python Tutorial: Slicing Lists and St...  

YouTube API Docs - https://developers.google.com/youtube/v3
Google API Python Client - https://github.com/googleapis/google-...

✅ Support My Channel Through Patreon:
  / coreyms  

✅ Become a Channel Member:
   / @coreyms  

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel -    / coreymschafer  
Facebook -   / coreymschafer  
Twitter -   / coreymschafer  
Instagram -   / coreymschafer  

#Python

show more

Share/Embed