Amazing-Python-Scripts

Форк
0

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.txt
Usage
To 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.py
Copy
Enter the YouTube video link when prompted. The script will print the live views, likes, and comments count for the video.
License
This 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. 😊

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.