Async wrapper for REST API youtube.com
Project description
Aioyoutube
About
Aioyoutube is a Python async wrapper for youtube.com REST API.
Usage
Note:
For use aioyoutube package, you must create youtube application
and generate API application key. You can do it
on https://console.developers.google.com
Install package
pip install aioyoutube
Use api
All description of youtube api methods you can find on youtube api page. All api method names in package match with youtube api method names.
Currently implemented methods:
- search
- comments
- commentThreads
- channels
- playlistItems
- playlists
- videos
Exapmple using youtube api method "search":
import asyncio
from aioyoutube import Api
api = Api()
loop = asyncio.get_event_loop()
search = api.search(
key='your application key',
text='search text'
)
task = loop.create_task(search)
result = loop.run_until_complete(task)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioyoutube-0.1.3.tar.gz
(8.8 kB
view details)
File details
Details for the file aioyoutube-0.1.3.tar.gz
.
File metadata
- Download URL: aioyoutube-0.1.3.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31174cdb962d3bbe43c270a8afae3a10bf3337bcd43dd00c677559f9598e8a0e |
|
MD5 | ff9554804e98dea346fbf469ca3a55b7 |
|
BLAKE2b-256 | 65a1b77300c27b74489c1d264f8eaf5692280fffbd6e15122dd0bee8abbb67a4 |