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.3
Filename, size File type Python version Upload date Hashes
Filename, size aioyoutube-0.1.3.tar.gz (8.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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