Python YouTube API Tutorial: Using OAuth to Access User Accounts @coreyms
Python YouTube API Tutorial: Using OAuth to Access User Accounts  @coreyms
Uploaded September 2020 | Updated November 2026, 2 hours ago
In this Python Programming Tutorial, we'll be learning how to learning how to use OAuth2 for the YouTube API. This will allow us to access a user's YouTube account for specific reasons. In this video, I'll show how I use this to access my private and unlisted videos from within a Python script. Let's get started...

The snippets for this video can be found at:
gist.github.com/CoreyMSchafer/ea5e3129b81f47c7c38eb9c2e6ddcad7

YouTube API Tutorial - youtu.be/th5_9woFJmk
YouTube API Docs - developers.google.com/youtube/v3
Google API Python Client - github.com/googleapis/google-api-python-client

✅ Support My Channel Through Patreon:
patreon.com/coreyms

✅ Become a Channel Member:
youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
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:
amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - coreyms.com
My Second Channel - youtube.com/c/coreymschafer
Facebook - facebook.com/CoreyMSchafer
Twitter - twitter.com/CoreyMSchafer
Instagram - instagram.com/coreymschafer

#Python
Python YouTube API Tutorial: Using OAuth to Access User AccountsPython Tutorial: String Formatting - Advanced Operations for Dicts, Lists, Numbers, and DatesLinux/Mac Tutorial: SSH Key-Based Authentication - How to SSH Without a PasswordPython FastAPI Tutorial (Part 9): Frontend Forms - Connecting JavaScript to Your APIPython Flask Tutorial: Full-Featured Web App Part 10 - Email and Password ResetPython FastAPI Tutorial (Part 18): Deploy to a VPS - Security, Nginx, SSL, and Custom DomainMatplotlib Tutorial (Part 5): Filling Area on Line PlotsPython Tutorial: Duck Typing and Asking Forgiveness, Not Permission (EAFP)Setting up a Python Development Environment in Sublime TextMatplotlib Tutorial (Part 4): Stack PlotsPython Tutorial: Custom Sublime Text Build SystemsHow to Run Linux/Bash on Windows 10 Using the Built-In Windows Subsystem for Linux
Corey Schafer |

Python YouTube API Tutorial: Using OAuth to Access User Accounts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER