Wednesday, September 28, 2011

[YouTube-API] How to Get Channel Category? (also, channel feed bugs)

Okay, maybe I am missing something, but I can't seem to figure out how
to get a channels category...

I can get the type (as in Director, Guru), but not category (as in
Automotive, Howto, Gaming, etc)

The type is served in the user profile feed, but the category seems
absent...

Is there any way to match up a few usernames againt the 15 YT
categories?


My *workaround* was to use the standardchannelfeeds and query those
and then match the queried category against the usernames on found and
matched back on my end, but I am running into some bugs / limits
there.

1) When the channel feeds first came out... the limits seemed to go
pretty high. Some even like a video feed it seemed (1000), but now it
seems more like 110 ... what should be the expected limit?

2) standardchannelfeeds returning inconsistent results

A good example is a URL from the docs
https://gdata.youtube.com/feeds/api/channelstandardfeeds/BR/most_viewed/-/Music?v=2
... it returns nothing. (nor does US)

( http://code.google.com/apis/youtube/2.0/developers_guide_protocol_channel_search.html
)

3) channel search feeds seem to top out at about 85 results (doesn't
seem normal?)

https://gdata.youtube.com/feeds/api/channels?v=2&q=comedy&start-index=85
https://gdata.youtube.com/feeds/api/channels?v=2&q=food&start-index=85
https://gdata.youtube.com/feeds/api/channels?v=2&q=cooking&start-index=85

Summary:

I'm just trying to match some channel usernames to some categories.
halp. lol

Any solution is appreciated. :)

Thanks!

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment