03 -Section 3 - build(), channels() & list()

github & youtube api

03

This is a fully functional request using all the info

from googleapiclient.discovery import build
import json
api_key = 'AIzaSyDzHXVBwo9IA0Y_kBHjmoEf9l66ngoj4Ag'

youtube = build('youtube', 'v3', developerKey=api_key)

request = youtube.channels().list(
    part='statistics',
    forUsername='schafer5'
)

response = request.execute()
print(response)