Posted 21 days ago. Visible to the public.

Resources for working with the Youtube API

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

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):

Copy
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.

You can look up the estimated costs of your requests here.

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

By refactoring problematic code and creating automated tests, makandra can vastly improve the maintainability of your Rails application.

Owner of this card:

Avatar
Judith Roth
Last edit:
13 days ago
by Judith Roth
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Judith Roth to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more