Pull API \ Retrieve the videos in a YouTube playlist

Resource/URI GET
Facebook · Retrieve a user's likes /pull/identities/<identity_token>/facebook/likes.json Retrieve Likes
Facebook · Retrieve a user's posts /pull/identities/<identity_token>/facebook/posts.json Retrieve Posts
Facebook · Retrieve a user's groups /pull/identities/<identity_token>/facebook/groups.json Retrieve Groups
Facebook · Retrieve a user's group posts /pull/identities/<identity_token>/facebook/group/<pageid>/posts.json Retrieve Group Posts
Facebook · Retrieve a user's pages /pull/identities/<identity_token>/facebook/pages.json Retrieve Pages
Facebook · Retrieve a user's page posts /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Posts
Facebook · Retrieve a user's page post reactions /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Post Reactions
LinkedIn · Retrieve a user's companies /pull/identities/<identity_token>/linkedin/companies.json Retrieve Companies
LinkedIn · Retrieve a user's company posts /pull/identities/<identity_token>/linkedin/company/<companyid>/posts.json Retrieve Company Posts
Pinterest · Retrieve a user's boards /pull/identities/<identity_token>/pinterest/boards.json Retrieve Boards
Pinterest · Retrieve a user's board pins /pull/identities/<identity_token>/pinterest/board/<boardid>/pins.json Retrieve Board Pins
Pinterest · Retrieve a user's pins /pull/identities/<identity_token>/pinterest/pins.json Retrieve Pins
Steam · Retrieve a user's games /pull/identities/<identity_token>/steam/games.json Retrieve Games
Twitter · Retrieve a user's followers /pull/identities/<identity_token>/twitter/followers.json Retrieve Followers
Twitter · Retrieve a user's followings /pull/identities/<identity_token>/twitter/followings.json Retrieve Followings
Twitter · Retrieve a user's tweets /pull/identities/<identity_token>/twitter/tweets.json Retrieve Tweets
Twitter · Retrieve a user /pull/identities/<identity_token>/twitter/user.json Retrieve User
YouTube · Retrieve a user's channels /pull/identities/<identity_token>/youtube/channels.json Retrieve Channels
YouTube · Retrieve a user's playlists /pull/identities/<identity_token>/youtube/playlists.json Retrieve Playlists
YouTube · Retrieve a user's playlist videos /pull/identities/<identity_token>/youtube/playlist/<playlistid>/videos.json Retrieve Playlist Videos
YouTube · Retrieve a user's channel sections /pull/identities/<identity_token>/youtube/channel/sections.json Retrieve Channel Sections

Workflow

Request: the code to send to the API

Send an API request to this endpoint in order to retrieve the videos included in a YouTube playlist:

GET /pull/identities/<identity_token>/youtube/playlist/<playlist_id>/videos.json

The <identity_token> is obtained whenever one of your users connects using YouTube. The <playlist_id> must be an identifier of a playlist owned by the same user.

Result: the code returned by the API

Response Example

{
  "response": {
    "request": {
      "date": "Mon, 29 Apr 2019 12:13:40 +0200",
      "resource": "/pull/identities/9b49bebd-6daf-4ab9-ac89-bf350120e914/youtube/playlist/PLKLxbwtEWTLcnyt9DXhcT0mrk67QgJec1/videos.json",
      "status": {
        "flag": "success",
        "code": 200,
        "info": "Your request has been processed successfully"
      }
    },
    "result": {
      "data": {
        "count": 1,
        "entries": [
          {
            "id": "-ER6NtqJxFo",
            "location": "https://www.youtube.com/watch?v=-ER6NtqJxFo",
            "date_creation": "Fri, 26 Apr 2019 17:24:28 +0200",
            "title": "How to Create a new Yahoo App for OneAll.com Sites?",
            "description": "This video will guide you through the basics of creating a new Yahoo app. After having created your app the video will show you how to register and use it for your oneall.com site.",
            "image": "https://i.ytimg.com/vi/-ER6NtqJxFo/hqdefault.jpg",
            "thumbnail": "https://i.ytimg.com/vi/-ER6NtqJxFo/mqdefault.jpg",
            "channel_id": "UC0b0B1JzM58DwtP6UG5xVjg",
            "playlist_id": "PLKLxbwtEWTLcnyt9DXhcT0mrk67QgJec1"
          }
        ]
      }
    }
  }
}

User Contributed Notes