An open API service indexing awesome lists of open source software.

https://github.com/nfaltir/youtube-channel-analysis

Youtube API channel Analysis using pandas
https://github.com/nfaltir/youtube-channel-analysis

data-analysis data-science data-visualization google webscraping youtube youtube-api

Last synced: about 2 months ago
JSON representation

Youtube API channel Analysis using pandas

Awesome Lists containing this project

README

          

# Youtube API


## Setup

1. get youtube api, url: console.developers.google.com
2. create new project <"YoutubeAPI">
3. Head over to API library to select an API
4. Choose Youtube Data API v3
5. Enable API and Create credentials
6. install `google-api-python-client`

## Google Api Instance methods

url: https://developers.google.com/resources/api-libraries/documentation/youtube/v3/python/latest/

## Installing pandas-profiling

```jupyter

#in notebook

import sys
!{sys.executable} -m pip install pandas-profiling

```

```

Summary Stats

Total Views: 22,277,726
Total Subs: 298,000
Total Videos: 132
Total Channel Likes: 554,978
Total Channel Comments: 121,920

Average Summary

Average Views per video: 169,739.97
Average Likes per video: 4,236.47
Average Comments per video: 930.69

```

```
Summary Stats

Total Views: 23,203,768
Total Subs: 306,000
Total Videos: 135
Total Channel Likes: 575,840
Total Channel Comments: 126,554

Average Summary

Average Views per video: 173,151.99
Average Likes per video: 4,297.31
Average Comments per video: 944.43

Date=1/28/23
```