Home Artificial Intelligence Exploratory Data Evaluation: What Do We Know About YouTube Channels

Exploratory Data Evaluation: What Do We Know About YouTube Channels

0
Exploratory Data Evaluation: What Do We Know About YouTube Channels

Getting statistical insights using Pandas and the YouTube Data API

Photo by Glenn Carstens-Peters, Unsplash

Nowadays, there are greater than 2.7 billion energetic YouTube users, and for many individuals, YouTube is just not only entertainment but a very important source of income. But how does it work? What number of views or subscribers can different YouTube channels get? With the assistance of Python, Pandas, and the YouTube Data API, we will get some interesting insights.

Methodology

This text will likely be divided into several parts:

  • Using the YouTube Data API. With this API, we’ll give you the chance to get an inventory of YouTube channels for various search requests. For every channel, we’ll get information concerning the variety of videos, views, and subscribers.
  • Getting the list of channels we’re fascinated about. This could be done just once.
  • Collecting the channel data. To get statistical insights, we want to gather the information for some time period.
  • Data evaluation.

Without further ado, let’s get into it.

1. YouTube Data API

First, a bit of excellent news for everybody who’s fascinated about collecting data from large networks like YouTube: the YouTube API is free, and we don’t must pay for it. To start out using this API, we want two steps:

  • Open https://console.cloud.google.com and create a latest project. I already had an old project there, but after some period of inactivity, all its API limits were set to zeros, and I didn’t discover a option to reset them. So, it’s just easier to make a latest one.
Google Cloud Console, Image by creator
  • Go to “APIs and Services” and enable “YouTube Data API”. Open the API, go to “Credentials,” and create an API key. If every part is finished accurately, the Quotas page will appear like this:
YouTube API Quotas, Image by creator

LEAVE A REPLY

Please enter your comment!
Please enter your name here