Working with Youtube's API to collect video statistics from a channel
By: Nate from StrataScratch (nate@stratascratch.com)
March 30, 2021
Here are the video tutorials showing you how to build the entire python script
Follow my Youtube channel here for more data science resources. We cover a lot of coding techniques in both python and SQL.
This script will help you collect video metrics from all the videos in your channel. You'll need a Youtube API key that you can sign up for from the developers.google.com site. More resources to help you are here:
- https://github.com/hellotinah/youtube_sentiment_analysis/blob/main/cleaned_get_youtube_comments.py
- https://jingwen-z.github.io/how-to-get-a-youtube-video-information-with-youtube-data-api-by-python/
- https://developers.google.com/youtube/v3/docs/search
If you want more coding practice, whether to improve in analytics or to prepare for coding interviews, check out StrataScratch, It's a coding platform with over 500+ coding questions from real data science companies. All questions are free and you can execute SQL and python code in the IDE.