Skip to main content

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.6.tar.gz (8.8 kB view details)

Uploaded Source

File details

Details for the file aioyoutube-0.1.6.tar.gz.

File metadata

  • Download URL: aioyoutube-0.1.6.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.5

File hashes

Hashes for aioyoutube-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b5fadf319ebde74e4a27a7abf4343d17e1c45e47d28c69833de900ee976b0e58
MD5 e1c63cf8245801b24746f6b94b8af10b
BLAKE2b-256 f6a95b3acd6f5324be0862eee275fa370d33523c7287b5f1ca24e34bac756de7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page