Getting all videos of a channel using youtube API

后端 未结 3 1372
醉酒成梦
醉酒成梦 2021-02-04 12:05

I want to get all videos of a single channel that i have its Id. The problem that I am getting only the channel informations. this is the link that I am using:

3条回答
  •  粉色の甜心
    2021-02-04 12:27

    It is very easy method to get channel videos using your channel API key:
    Step 1: You must have an YouTube account.
    Step 2: Create your YouTube channel API key
    Step 3: Create project console.developers.google.com,

    
    
    
    
    Example : https://www.googleapis.com/youtube/v3/channelspart=snippet&forUsername= 
    {username}&key={YOUR_API_KEY}
    

提交回复
热议问题