A collection of helper functions which I use to simplify interfacing with the youtube api via google's python api client.
The google-api-python-client is the only requirement.
pip install google-api-python-client
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)