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.

Files for aioyoutube, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size aioyoutube-0.1.6.tar.gz (8.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page