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

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='AIzaSyBu3xTXgHxJsJHeRw1RlZynqhwGRA7Q0Gs',
    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.tar.gz (7.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: aioyoutube-0.1.tar.gz
  • Upload date:
  • Size: 7.5 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

Hashes for aioyoutube-0.1.tar.gz
Algorithm Hash digest
SHA256 73e3dc74f7e3240f49e0271090e4df8d52a0a7d0674ea110675a8fb002c4ae5b
MD5 fde75bb451641c3263526aeb2def2694
BLAKE2b-256 0d9df9c2c565452b44acaa5bd2619d23c5ef9b664f06171d8b4e16821d2c5e50

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