Connect to the YouTube Data API with a custom OAuth client
Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.
Get a URL and emit the HTTP body as an event on every request
Emit new event when the content of the URL changes.
Emit new event for each new comment or reply posted to a Youtube video.
Emit new event for each new Youtube video liked by the authenticated user
Adds resources to a playlist. See the docs for more information
Returns statistics from my YouTube Channel or by id. See the docs for more information
Creates a new top-level comment in a video. See the docs for more information
Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.
Creates a playlist. See the docs for more information
What can I build using YouTube's Data API?
The YouTube Data API (also known as the YouTube Custom App API) is a powerful tool that enables developers to build applications that interact with YouTube's platform. With it, developers can create apps that display data about the videos and channels on YouTube, fetch metadata about specific videos, modify existing videos, and much more.
Some of the many possibilities enabled by the YouTube Data API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
youtube_data_api_custom_app: {
type: "app",
app: "youtube_data_api_custom_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.youtube_data_api_custom_app.$auth.oauth_access_token}`,
},
})
},
})
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
async run({ steps, $ }) {
const { data } = await axios({
method: "GET",
url: "https://pokeapi.co/api/v2/pokemon/charizard",
})
return data.species
},
})