This project involves building a comprehensive framework to integrate data from Youtube ,store the integrated data in a MySQL Database, and create an interactive web application for data analysis using Streamlit.The primary objectives are to effectively gather valuable Youtube data, establish robust storage mechanism, and visualize insights interactively for analysis purposes.
- Technologies Used
- Installation
- Import Libraries from Modules
- Usage
- Features
- Contact
- python
- pandas
- mysql
- streamlit
- matplotlib
- seaborn
- pip install google-api-python-client
- pip install pandas
- pip install mysql-connector-python
- pip install stramlit
-
import googleapiclient.discovery
-
import requests
-
import re
-
import json
-
import pandas as pd
-
import mysql.connector
-
from datetime import datetime, timezone
-
from mysql.connector import Error as MySQLError
-
import streamlit as st
-
from streamlit_option_menu import option_menu
-
from streamlit_lottie import st_lottie
-
import seaborn as sb
-
import matplotlib.pyplot as plt
Follow these steps to effectively use the application:
- Access the Streamlit App in the web browser
- Enter the Youtube Channel ID in the provided textbox on the Streamlit Interface.
- Select the "Collect and Store data" button.
- It collects the data from the entered YouTube Channel Id and stores it in the MySQL Database.
- Choose the table for view which displays details from different tables- Channels Table,Videos Table, Comments Table.
- Select a Table to display its corresponding details.
- Use the sidebar menu to select query options for data analysis and visualization.
- Use the input box provided to select from a variety of queries for data analysis and visualization.
- By selecting the Query, streamlit will process the request and display the answers along with the relevant visualizations
- Data Collection: Retrieve data from YouTube channels using the YouTube API.
- Data Storage: Store the collected data in a MySQL Database.
- Interactive Analysis: Use Streamlit to create an interactive web application for data visualization and analysis.
- Visualization: Visualize the data insights using matplotlib and seaborn for statistical plotting.