A python library which provides all possible metadata of YouTube videos.
Project description
A python library which provides metadata of YouTube videos.
Prerequisites
Get the youtube data v3 api key from https://console.developers.google.com/apis/
Set environment variable API_KEY=’Your YoutubeDatav3 API key’
Installation
- for stable version
pip install pyytdata
- for current_version
pip install git+https://github.com/Agent-Hellboy/pyytdata.git
Using
Public APIs get_vid_info_from_url -> Return Video Info from URL get_video_info -> Return Video Info from video_id get_channel_info -> Return Channel Info from channel name get_channel_stat_by_name -> Return channel stat from channel name get_video_stat_by_ID -> Return Video stat from vide_id
Other APIs .. code-block:: python
>>> from pyytdata import PyYtData >>> obj=PyYtData('flask',1) >>> vid=obj.get_videoinfo()
General Info
python-client for https://developers.google.com/youtube/v3/docs/channels
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyytdata-0.3.0.tar.gz
.
File metadata
- Download URL: pyytdata-0.3.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7c9b3c2ad9237f6c5d69242ab3f8258ccb21bc95bac110662c59de958dcbd38 |
|
MD5 | 24a320037b503cae704af8e11c5e1b69 |
|
BLAKE2b-256 | ab16a7618ce1dc5c47a3c31ed4d02187a02250b8b1dc11942f1f5bb5f8547831 |
File details
Details for the file pyytdata-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: pyytdata-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80d1886521e4ac3a4c62eea2e8e148f1b3b1bd6b2f67eb0d0625826a518305b6 |
|
MD5 | 4c740e8f6257f3893c648a1d1e124e47 |
|
BLAKE2b-256 | 3d6c4bb6c7ac705779edd92b1651663c489564f1aa6402119ceaef1872a298d1 |