Gdata youtube feed for auto-generated feeds

I’m trying to find out if it’s possible to get the gdata channel for the auto-generated YouTube channel, as well as the Subject.

For example, here is the JPop channel:

http://www.youtube.com/channel/HC9BkB0bbvv-4

Was this a user, I know that I can get a feed like: http:// gdata.youtube.com/feeds/base/users/{username}/uploads . But since this is not a user, this does not work.

I know I could do a search like: http:// gdata.youtube.com/feeds/api/videos?v=2&q=jpop , but this is not exactly the same.

This question was asked earlier on the old Youtube developers forum , but at that time it was not available.

I looked through all the API docs to see if this had changed, but could not find links to it.

I was hoping someone might know if this has changed, but the documents have not been updated or the expected ETA for this feature?

+7
source share
1 answer

You can interact with automatically generated topic channels (those starting with HC ) by subscribing to them, like any other channel.

If you just want to get a list of videos related to the channel, you need to use the future v3 API and you can search based on the main theme. You can get topic identifiers (s) related to this channel using channels.list(id=CHANNEL_ID) :

https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.channels.list?part=topicDetails&id=HC9BkB0bbvR-4

(v3 is not published publicly now, so you need to use the Google API Explorer.)

This returns the theme identifier (Freebase) /m/025g__ , which can then be used for search.list(topicId=TOPIC_ID, q=BLAH, type=video)

 https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.search.list?part=snippet&type=video&q=j+pop&topicId=%252Fm%252F025g__ 

Unfortunately, you cannot perform a search that simply indicates topicId= without q= right now in v3, but this error, which I hope will be fixed soon. So you need to specify something meaningful for the q= parameter, and I just use j pop .

+3
source

All Articles