Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How to search content across multiple channel in youtube api?

$
0
0

I want to search youtube videos in a list of channels. In the code below, I am able to pass only one "Channelid" to the youtube api. Is there a way to pass multiple channel Ids ??

def youtube_search(options):  youtube = build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION,    developerKey=DEVELOPER_KEY)  # Call the search.list method to retrieve results matching the specified  # query term.  search_response = youtube.search().list(    q=options.q,    part="id,snippet",    maxResults=options.max_results,    channelId=options.channelId  ).execute() 

Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>