Saturday 15 August 2015

google api - How can I retrieve "channels within a channel" on YouTube API v3 -



google api - How can I retrieve "channels within a channel" on YouTube API v3 -

the youtube channels can have lists of several "related" channels. example, music channel has related genre channels: hip hop, pop, rock, country, etc.

music channel: http://www.youtube.com/channel/uc-9-kytw8zkzndhqj6fgpwq

related channels music channel: http://www.youtube.com/channel/uc-9-kytw8zkzndhqj6fgpwq/channels

i can retrieve list of videos within channel using youtube.search.list api , can fetch info of specific channels using youtube.channels.list api can't seem find api gives me "other channels related channel" in illustration above.

i'm pretty sure took @ apis google providing https://developers.google.com/apis-explorer/#p/youtube/v3/

is there anyway can fetch info need?

in api, looking channelsection type multiplechannels.

using illustration of music channel, able

1) pull list of channelsections

2) find id of channelsection type multiplechannels , title music genres (all of way @ bottom of linked example).

3) using id step 2 can query specific channelsection

in examples used snippet step 1 gives type , title. you utilize contentdetails part field cutting downwards step, you'd have search through returned list contentdetails contained channels array.

edit:

to details sub-channels can bring together channel ids comma separated list , utilize them id parameter in channels.list query. here query returning details top 3 channels returned step 3.

youtube google-api youtube-api youtube-data-api

No comments:

Post a Comment