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
  • commentThreads
  • channels
  • playlistItems
  • playlists

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.2.tar.gz (8.5 kB view hashes)

Uploaded Source

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