Skip to content

Retrieved data of a YouTube channel using YouTube Data API v3 and performed data analysis on the extracted data. Information retrieved includes uploaded videos details, most liked video, most disliked video etc.

Notifications You must be signed in to change notification settings

mitushiananya/Extract-Analyse-Youtube-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Easy Extract and Analyse Youtube Data

  1. Generate the API key:

Get your API key here: https://console.developers.google.com/

First login to Google, if you don't have an account create one and then login.

Visit the Google developer dashboard, create a new project from the top of the page as in below image, click “Select a project” from the top

Now Click on “New Project” as shown below.

Once done you will be automatically redirected to the Google APIs dashboard.

The next step is the activation of YouTube API, so for that navigate to the API & Services from the side panel. Then click on Enable API & Services from the top of the page. Search for YouTube and then select YouTube Data API v3.

After that Enable the API by clicking on the Enable

Now again click on the API & Services and select credentials. Navigate to the Create Credentials from the top of the page in that select API key.

Once clicked after some time a pop up will come with the message API key created from there you will get our API key as alphanumeric. Copy that and keep it safe for further use.

  1. Import the libraries:

pandas

google-api-python-client

  1. To get any channel's ID:

Go to the channel URL: https://www.youtube.com/channel/UCKuHFYu3smtrl2AwwMOXOlg

And the end part that is after channel/ is the channel's id. For this (https://www.youtube.com/channel/UCKuHFYu3smtrl2AwwMOXOlg) URL the channel id is: UCKuHFYu3smtrl2AwwMOXOlg

About

Retrieved data of a YouTube channel using YouTube Data API v3 and performed data analysis on the extracted data. Information retrieved includes uploaded videos details, most liked video, most disliked video etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages