aoiandroid's picture
Upload docs articles and media
2ff9f4d verified
|
Raw History Blame Contribute Delete
1.75 kB

YouTube Data API v3 Reference (English)

Source: https://developers.google.com/youtube/v3/docs?hl=en

The YouTube Data API lets you incorporate functions normally executed on the YouTube website into your own website or application. The following sections identify the different types of resources that you can retrieve using the API. The API also supports methods to insert, update, or delete many of these resources.

Requirements

  1. Every request must either specify an API key (with the key parameter) or provide an OAuth 2.0 token.
  2. You must send an authorization token for every insert, update, and delete request. You must also send an authorization token for any request that retrieves the authenticated user's private data.
  3. The API supports the OAuth 2.0 authentication protocol.

Resources and Methods

Activities

An activity resource contains information about an action that a particular channel, or user, has taken on YouTube.

  • list: GET /activities

Captions

A caption resource represents a YouTube caption track.

  • list: GET /captions
  • insert: POST /captions
  • update: PUT /captions
  • download: GET /captions/id
  • delete: DELETE /captions

Channels

A channel resource contains information about a YouTube channel.

  • list: GET /channels
  • update: PUT /channels

Comments & CommentThreads

  • comments.list: GET /comments
  • commentThreads.list: GET /commentThreads

Playlists & PlaylistItems

  • playlists.list: GET /playlists
  • playlistItems.list: GET /playlistItems

Search

  • list: GET /search

Videos

  • list: GET /videos
  • insert: POST /videos
  • update: PUT /videos
  • delete: DELETE /videos