How can I get a channel ID from YouTube?

前端 未结 13 1787
梦谈多话
梦谈多话 2020-11-28 19:40

I\'m trying to retrive the data from my channel using the YouTube Data API V3.
For that I need my channel ID.
I\'ve tried to find my channel ID fr

13条回答
  •  悲哀的现实
    2020-11-28 20:26

    You can get the channel ID with the username (in your case "klauskkpm") using the filter "forUsername", like this:

    https://www.googleapis.com/youtube/v3/channels?key={YOUR_API_KEY}&forUsername=klauskkpm&part=id
    

    More info here: https://developers.google.com/youtube/v3/docs/channels/list

提交回复
热议问题