Skip to main content
Help us improve Python packaging – donate today!

Python Youtube Data API v3

Project Description

yapi
===================
#### Python - Youtube Data API v3

**yapi** is a simple client api for youtube.It uses [Youtube Data API v3](https://developers.google.com/youtube/v3/).Before you can use, you must a create project in [here](https://console.developers.google.com/apis/api/youtube/overview).

## Installation
```
sudo pip install yapi
```

## Using
```python
import yapi
api = yapi.YoutubeAPI('api_key')
```

## References
```python
video = get_video_info('video_id')

results = general_search('keyword', max_results=10)
videos = video_search('keyword', max_results=10, order=None)
videos = video_search_in_channel('keyword', 'channel_id', max_results=10, order=None)

channel = get_channel_by_name('channel_name')
channel = get_channel_by_id('channel_id')

playlist = get_playlist_by_id('playlist_id')
playlist = get_playlist_by_channel_id('channel_id')

playlistItems = get_playlist_items_by_playlist_id('playlist_id', max_results=20)

# Special
api_key = get_api_key()
bool = change_api_key('api_key')
```

## Contributing
[https://github.com/ahmetkotan/yapi](https://github.com/ahmetkotan/yapi)

## Youtube Data API v3
[Youtube Data API v3 Doc](https://developers.google.com/youtube/v3/)

Release history Release notifications

This version
History Node

v1.2.2

History Node

v1.2.1

History Node

v1.2

History Node

v1.1.1

History Node

v1.1

History Node

v1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
yapi-v1.2.2.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Sep 7, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page