https://api.i-as.dev/api/youtube/list?apiKey={Youtube_ApiKey_V3}
{
"react": [
"PL4cUxeGkcC9gZD-Tvwfod2gaISzfRiP9d"
],
"angular": [
"PLC3y8-rFHvwhBRAgFinJR8KHIrCdTkZcZ"
]
}
{
"list": [
{
"id": "string",
"title": "string",
"description": "string",
"thumbnail": "url",
"category": "string"
}
]
}
https://api.i-as.dev/api/youtube/playlist/:playListID?apiKey={Youtube_ApiKey_V3}
{
"playlist": {
"id": "string",
"title": "string",
"description": "string",
"thumbnail": "url",
"channel": "string"
},
"videos": [
{
"id": "string",
"title": "string",
"thumbnail": "url",
"channel": "string"
}
]
}
https://api.i-as.dev/api/youtube/video/:videoId?apiKey={Youtube_ApiKey_V3}
{
"video": {
"id": "string",
"title": "string",
"description": "string",
"thumbnail": "url",
"publish": "string",
"channel": "string",
"video": "url",
"views": "string"
}
}
http://localhost:3000/api/youtube/search?q={query}&apiKey={Youtube_ApiKey_V3}
type
: Specifies the type of content (e.g., video, channel).maxResults
: Limit the number of results (e.g., 10, 16).pageToken
: Pagination token (e.g., nextPageToken
, prevPageToken
).{
"results": [
{
"id": "string",
"title": "string",
"description": "string",
"thumbnail": "url"
}
],
"nextPageToken": "token",
"prevPageToken": "token"
}
http://localhost:3000/api/youtube/channel/:channelId?apiKey={Youtube_ApiKey_V3}
maxResults
: Limit the number of results (e.g., 10, 16).pageToken
: Pagination token (e.g., nextPageToken
, prevPageToken
).{
"channel": {
"id": "string",
"title": "string",
"description": "string",
"subscriberCount": "string",
"viewCount": "string",
"videoCount": "string"
},
"videos": [
{
"id": "string",
"title": "string",
"description": "string",
"thumbnail": "url",
"publishedAt": "string"
}
],
"nextPageToken": "token",
"prevPageToken": "token"
}
Make sure to replace {Youtube_ApiKey_V3}
with your valid YouTube API key.