There are several files in this directory
analysis.ipynbis the Jupyter Notebook that built the actual scriptanalysis.htmlis the HTML exported version, so you can just read static HTML, instead of spawn Jupyter server. The analysis and questions answered is listed in the HTML filetags.xlsxThe tags fileanalysis.pythe actual script, please read below.requirements.txtPython packages dependencies used
This script can be used run continuously ETL pipeline.
Before running the script, install the python packages dependencies
$pip install -r requirements.txt
Change the global variables, including
API_KEY: Create the api key credentials in GCP. Go to Youtube Data V3 API -> Enable API -> API & Credentials -> Create API Key -> copy the api keyMySQL_URI: Change the URI to reflect MySQL destination tableKEYWORD: Change the keyword
Run the script
$python analysis.py