Read more

Resources for working with the Youtube API

Deleted user #4117
November 21, 2019Software engineer

You can use the Youtube API to get data from youtube. Here are some resources and some things that are good to know.

Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

You need to create an API key and each request will cost a certain amount of Request-Points (depending on the kind of query).

It may help to understand youtube's domain model before starting.

It's best to just try out your requests in the browser to see what you will get.
A request can look like this (note that you have to replace the playlist ID and the API key in order to make this request work):

https://www.googleapis.com/youtube/v3/playlistItems?playlistId=<PLAYLIST_ID>&key=<API-KEY>A&part=snippet&fields=nextPageToken,items(snippet(publishedAt,resourceId(videoId)))

There are more examples and explanations in the docs Show archive.org snapshot .

You can look up the estimated costs of your requests here Show archive.org snapshot .

You can see your current quota limit and how much is used here Show archive.org snapshot (select your project in the upper left dropdown).

Posted to makandra dev (2019-11-21 15:59)