YouTube Streaming API returns no results

前端 未结 1 1759
再見小時候
再見小時候 2021-01-17 06:58

I\'m using Google\'s YouTube API Explorer (alternate) to look up information on streaming broadcasts.

No matter what I put into the various \"Filter\" fields (

相关标签:
1条回答
  • 2021-01-17 07:45

    I know this is an old question but I've encountered the same issue yesterday and it seems that I'm missing the broadcastType parameter.

    Acceptable values are:

    all – Return all broadcasts.
    event – Return only scheduled event broadcasts.
    persistent – Return only persistent broadcasts.
    

    https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/list

    So my final request looks like:

    https://www.googleapis.com/youtube/v3/liveBroadcasts?part=id&mine=true&broadcastType=all
    
    0 讨论(0)
提交回复
热议问题