Amazing-Python-Scripts
..
/
Get-Live-Youtube-Video-Stats
README.md
YouTube Video Statistics
This project is a Python script that uses the YouTube Data API to get live views, likes, and comments data for any YouTube video.
Requirements
- Python 3
- google-api-python-client
- google-auth
Installation
To install the required libraries, run the following command:
pip install -r requirements.txtUsageTo use this script, you need to have a YouTube API key and a service account JSON key file. You can get them from the Google Cloud Console.
Replace the values of API_KEY and SERVICE_ACCOUNT_FILE in the script with your actual keys.
Then, run the script as follows:
python youtube_video_stats.pyCopyEnter the YouTube video link when prompted. The script will print the live views, likes, and comments count for the video.
LicenseThis project is licensed under the MIT License - see the LICENSE file for details.
I hope this helps you understand how to write a README.md file in raw markdown for your code. If you have any questions or feedback, please let me know. 😊