Youtube channel section videos -
i successful in fetching channels home page sections "youtube.channelsections.list" api how fetch videos inside these sections ? have been successful in fetching playlist , videos inside playlist
{ "kind": "youtube#channelsectionlistresponse", "etag": "\"qvys2yjpsz-tkkk4jvgyeo_ykzy/w_jkja-xyssniidlsdsp4nytwyw\"", "items": [ { "kind": "youtube#channelsection", "etag": "\"qvys2yjpsz-tkkk4jvgyeo_ykzy/uqkgurncwaquzjghxpaipzetefk\"", "id": "mychannelid.ebklgrwnpfy", "snippet": { "type": "channelsectiontypeundefined", "style": "horizontalrow", "channelid": "mychannelid", "title": "mgr movies", "position": 0 } } ] }
the above json gives me section "mgr movies" how fetch videos inside ?
daniel:
i'm diving question now. far i'm having no luck funding list resource channelsections.
the 1 thing see can add contentdetails part request , playlist ids sections in fact playlists.
youtube/v3/channelsections?part=snippet,contentdetails
this won't other sections in list, recent uploads or popular or such.
the resulting block following:
contentdetails: { playlists: [ "plc76ee07063d0854b" ] }
the array here worries me bit seems allow more 1 playlist tacked section either or future. make pull of listed videos more complicated.
i'll keep diving , report other mechanisms see.
Comments
Post a Comment