youtube-python icon indicating copy to clipboard operation
youtube-python copied to clipboard

YouTube Api wrapper in python

youtube-python

===================

Python - Youtube Data API v3

youtube-python is a simple client for youtube api. It uses Youtube Data API v3.

Installation

sudo pip install youtube-python

Using

from youtube import API
api = API(client_id='', client_secret='', api_key='', access_token='optional')

References https://developers.google.com/youtube/v3/docs/videos

video = api.get('videos', id='B7FJV9KIn58')

References https://developers.google.com/youtube/v3/docs/channels/list

video = api.get('channels', id='UCLFZ5qAH-l_WiRd_EOzX2og')

Contributing

https://github.com/rohitkhatri/youtube-python

Youtube Data API v3

Youtube Data API v3 Doc