Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How to get videos of channel by channel ID without use search request

$
0
0

In my NodeJS application, I use this code to get the videos for a specific channel:

 var myOauth = 'my oauth object'; var channelId = 'my channel id'; youtube.search.list({ auth: myOauth, part: 'snippet',                        channelId: channelId, type:'video',                       order:'date', maxResults:50                      },                      function(err, response) {                       //do something here                     } );

This solution works but the quota cost of each request is 100. https://developers.google.com/youtube/v3/docs/search/list

I want to get videos with other way like "playlistItems" where the quota cost is 1. https://developers.google.com/youtube/v3/docs/playlistItems/list


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>