Skip to content

Instantly share code, notes, and snippets.

Embed
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 = youtube_api.search().list(q=search_terms, 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.