Skip to content

Youtube-Data-API Test to find the subscriber count of channels.

Notifications You must be signed in to change notification settings

karuaan/Youtube-Data-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Youtube-Data-API

Technologies Used:

AWS S3 (Stored Feeds into the S3 Bucket through code).

AWS Lambda Functions (Ran the code through a Lambda Function in AWS using Console).

Youtube API (Pulled Channel information through Youtube Data API).

Python3 (Backend API for ETL Processes).

NodeJS (Backend Web Interface to get data from S3 Bucket).

ReactJS (Frontend Dashboard to present data pulled from S3 Bucket).

Application Data Architecture

Image of Data Architecture

Functionality:

  1. Get Latest Subscriber Count and Video Count of Top 11 Channels Every 3 Hours.
  2. Get Top 5 (By Video Score) Latest Videos Uploaded Every 3 Hours.
  3. Get Video Score (View Count + Comment Count Relative to Like Percentage and Time in Minutes) of Videos.
  4. Get Change in Subscriber Count and Video Count Every 3 Hours.

How to Run:

  1. Clone the Repo from Github.
  2. Create a Virtual Environment:

*Make Virtual Environment: python3 -m venv /path/to/new/virtual/environment

*Activate Virtual Environment: \path\to\new\virtual\environment\Scripts\activate

  1. Install all packages in requirement.txt:

pip install -r requirements.txt

pip freeze > requirements.txt

  1. Create a Google API Key: https://console.developers.google.com/
  2. Enable Youtube Data API for Google API Keys.
  3. Replace AWS Keys in Keys and Google API Keys in Keys.py.
  4. Make an S3 Bucket.
  5. (Optional) To run code on local machine, please run channelsBySubscribers.py. (Optional)
  6. Create a Lambda in AWS and upload the code to AWS.
  7. Profit!!!

Future Plans:

  1. Project Emails once a day listing latest videos.

About

Youtube-Data-API Test to find the subscriber count of channels.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published