Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Call the YouTube API
# Call the YouTube API
api_key =AIzpSyAq3L9DiPK0KxrGBbdY7wNN7kfPbm_hsPg# Enter your own API key – this one won’t work
youtube_api = build(‘youtube’, ‘v3’, developerKey = api_key)
results =, part=snippet’, type=video’,
order=viewCount’, maxResults=50).execute()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.