Skip to content

brandonPurvis/python-youtube-api-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python-Youtube Api

A collection of helper functions which I use to simplify interfacing with the youtube api via google's python api client.

To Use

The google-api-python-client is the only requirement.

  • pip install google-api-python-client

Examples

Get a channels subscriptions:

import ytapi
from secrets import YOUTUBE_DATA_API_KEY

CHANNEL_ID = ...

service = ytapi.create_service('youtube', 'v3', YOUTUBE_DATA_API_KEY)

for channel in ytapi.subscriptions(CHANNEL_ID, service):
    print(channel.name, channel.channel_id)

About

Simplifies youtube python api client's interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages