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
- Host: GitHub
- URL: https://github.com/nfaltir/youtube-channel-analysis
- Owner: nfaltir
- Created: 2023-01-13T04:05:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T09:21:51.000Z (over 3 years ago)
- Last Synced: 2025-03-31T17:03:05.287Z (about 1 year ago)
- Topics: data-analysis, data-science, data-visualization, google, webscraping, youtube, youtube-api
- Language: Jupyter Notebook
- Homepage:
- Size: 3.97 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```