Skip to content

Latest commit

 

History

History
92 lines (71 loc) · 4.1 KB

README.md

File metadata and controls

92 lines (71 loc) · 4.1 KB

YouTube Channel Comparison

This project uses the YouTube API to compare two YouTube channels based on various metrics. The project aims to provide a comprehensive analysis of the channels' performance, growth, and audience engagement.

Features

  1. Table for Subscriber Counts, Video Counts, and View Counts:

    • Displays a table comparing the key metrics of the two channels.
  2. Bar Chart of Subscriber Counts:

    • Visual representation of the subscriber counts for each channel.
  3. Bar Chart of Video Counts:

    • Visual representation of the video counts for each channel.
  4. Bar Chart of View Counts:

    • Visual representation of the view counts for each channel.
  5. Growth Rate Analysis:

    • Analyzes and compares the growth rate of each channel over a specified period.
  6. Engagement Rate:

    • Calculates and compares the engagement rates of the channels, providing insights into audience interaction.
    • The Engagement Rate is a key metric used to measure the level of interaction and involvement a YouTube channel's audience has with its content. It is calculated by considering various factors such as likes, comments, and views. A higher engagement rate indicates that the audience finds the content interesting and engaging.This metric helps in understanding how effectively a channel is connecting with its viewers and fostering active participation.
    • The engagement rate can be calculated using the following formula: image
  7. Sentiment Analysis on Comments using ML:

    • Uses machine learning to analyze the sentiment of comments on videos from the channels.

Installation

To get started with this project, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Harsha2k3/YT_API_Channel_Comparator.git
    YT_API_Channel_Comparator
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Set up YouTube API:

    • Go to https://developers.google.com/youtube/v3
    • Click on "Add YouTube functionality to your site" image
    • Click on "Google Developers Console" image
    • Click on "Youtube Statistics" image
    • Create New Project image
    • Select project in notifications image
    • Click on ENABLE APIS AND SERVICES image
    • Click on "Credentials" image
    • Create Credentials and select API key image
    • Copy the created API key
    • Now, we have to enable the API key
    • Click on ENABLE APIS AND SERVICES image
    • Search for "youtube data api v3" image
    • Select it image
    • Click "ENABLE" image

Usage

  1. Run the main script to fetch data from YouTube API and perform analysis:

    python main.py
  2. Generate visualizations and reports:

    • The script will generate tables and charts for comparison.
    • The results will be saved in the output directory.

Contact

  • For any inquiries or questions regarding the YT API Channel Comparator, please reach out to [email protected]