All Projects → ahmetkotan → yapi

ahmetkotan / yapi

Licence: GPL-3.0 license
Python Youtube Data API v3

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to yapi

RedsoftYapiUpload
一个快速生成接口文档的IntelliJ IDEA的Yapi上传小插件,如果给你带来了方便,请给个Star 谢谢
Stars: ✭ 51 (-8.93%)
Mutual labels:  yapi
vlog action recognition
Identifying Visible Actions in Lifestyle Vlogs
Stars: ✭ 13 (-76.79%)
Mutual labels:  youtubeapi
flutter-Anniversary
一款界面优美,功能简洁的纪念日APP
Stars: ✭ 57 (+1.79%)
Mutual labels:  yapi
smart-cloud
基于springboot && springcloud的脚手架,支持服务合并部署与拆分部署、接口加解密签名、日志数据 脱敏、接口数据mock、接口文档自动生成、请求幂等校验、接口日志&&sql日志切面打印、分表分库分布式事务、国际化语言等
Stars: ✭ 167 (+198.21%)
Mutual labels:  yapi
yapi-plugin-qsso
YApi可视化接口管理平台 qsso 登录插件
Stars: ✭ 39 (-30.36%)
Mutual labels:  yapi

yapi

Python - Youtube Data API v3

yapi is a simple client api for youtube.It uses Youtube Data API v3.Before you can use, you must a create project in here.

Installation

sudo pip install yapi

Using

import yapi
api = yapi.YoutubeAPI('api_key')

References

video = api.get_video_info('video_id')

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

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

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

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

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

Pagination

results = api.general_search('keyword', max_results=10, pageToken=PAGETOKEN)
videos = api.video_search('keyword', max_results=10, order=None, pageToken=PAGETOKEN)
videos = api.video_search_in_channel('keyword', 'channel_id', max_results=10, order=None, pageToken=PAGETOKEN)
playlistItems = api.get_playlist_items_by_playlist_id('playlist_id', max_results=20, pageToken=PAGETOKEN)

Contributing

https://github.com/ahmetkotan/yapi

Youtube Data API v3

Youtube Data API v3 Doc

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].