Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.04 KB

youtube-python-async

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

Python - Youtube Data API v3

youtube-python-async is an asynchronous client for the YouTube API, based on youtube-python. It uses the Youtube Data API v3.

Installation

pip install git+git://github.com/economy/youtube-python-async.git

Set up API client

from youtube_async import API

api = API(client_id='', client_secret='', api_key='', access_token='optional', timeout=5)

Query videos

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

Query channels

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

Contributing

https://github.com/economy/youtube-python-async

Youtube Data API v3

Youtube Data API v3 Doc