A python library which provides metadata of YouTube videos.
- Get the youtube data v3 api key from https://console.developers.google.com/apis/
- Set environment variable API_KEY='Your YoutubeDatav3 API key'
- for stable version
- pip install pyytdata
- for current_version
- pip install git+https://github.com/Agent-Hellboy/pyytdata.git
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
>>> from pyytdata import PyYtData
>>> obj=PyYtData('flask',1)
>>> vid=obj.get_videoinfo()
python-client for https://developers.google.com/youtube/v3/docs
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.