Youtube Related Videos using Youtube V3 API

后端 未结 1 428
长情又很酷
长情又很酷 2020-12-13 01:56

I need the API URL for Youtube Related Videos using the Youtube V3 API. But I couldn\'t find the direct API call, like it is in Version 2. Did I miss something?

htt

相关标签:
1条回答
  • 2020-12-13 02:48

    Are you trying to find videos related to a video?

    You can use search->list call for this with specifying the "relatedToVideoId"

    And for anyone looking for a coded example:

    GET https://www.googleapis.com/youtube/v3/search?part=snippet&relatedToVideoId=5rOiW_xY-kc&type=video&key={YOUR_API_KEY}
    
    0 讨论(0)
提交回复
热议问题