360 Secure SkillHub
360 安全技能中心

YouTube API

封装 JustOneAPI 的两个 YouTube 查询操作:按 videoId 获取视频详情(标题、描述、播放量等),按 channelId 与 cursor 分页获取频道视频列表。需配置 JUST_ONE_API_TOKEN,通过 node 脚本按参数发起 GET 请求,输出以自然语言回答为主并附关键字段与原始结果。

justoneapi
justoneapi
热度 57.20
最近更新 2026-05-11 17:40:19
分类:搜索依赖:代码执行 / 第三方 API应用场景:API 集成 / 社交媒体 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add justoneapi-youtube
Metadata
name
YouTube API
description
Analyze YouTube workflows with JustOneAPI, including video Details and channel Videos.
author
JustOneAPI
homepage
https://api.justoneapi.com
metadata
{"openclaw":{"homepage":"https://api.justoneapi.com","primaryEnv":"JUST_ONE_API_TOKEN","requires":{"bins":["node"],"env":["JUST_ONE_API_TOKEN"]},"skillKey":"justoneapi_youtube"}}

YouTube

This skill wraps 2 YouTube operations exposed by JustOneAPI. It is strongest for video Details and channel Videos. Expect common inputs such as channelId, cursor, videoId.

When To Use It

  • The user needs video Details or channel Videos on YouTube.
  • The user can provide identifiers or filters such as channelId, cursor, videoId.
  • The user wants an exact API-backed answer instead of a freeform summary.

Representative Operations

  • getYoutubeVideoDetailV1: Video Details — Get YouTube video Details data, including its title, description, and view counts, for tracking video engagement and statistics, extracting video metadata for content analysis, and verifying video availability and status
  • getChannelVideosV1: Channel Videos — Retrieve a list of videos from a specific YouTube channel, providing detailed insights into content performance and upload history

Request Pattern

  • 2 operations are available in this skill.
  • HTTP methods used here: GET.
  • The most common non-token parameters are channelId, cursor, videoId.
  • All operations in this skill are parameter-driven requests; none require a request body.

How To Work

  1. Read generated/operations.md before choosing an endpoint.
  2. Start with one of these operations when it matches the user's request: getYoutubeVideoDetailV1, getChannelVideosV1.
  3. Pick the smallest matching operation instead of guessing.
  4. Ask the user for any missing required parameter. Do not invent values.
  5. Call the helper with:
node {baseDir}/bin/run.mjs --operation "<operation-id>" --token "$JUST_ONE_API_TOKEN" --params-json '{"key":"value"}'

Environment

  • Required: JUST_ONE_API_TOKEN
  • This skill uses JUST_ONE_API_TOKEN only for authenticated Just One API requests.
  • Keep JUST_ONE_API_TOKEN private. Do not paste it into chat messages, screenshots, or logs.
  • Get a token from Just One API Dashboard.
  • Authentication details: Just One API Usage Guide.

Output Rules

  • Start with a plain-language answer tied to the YouTube task the user asked for.
  • Include the most decision-relevant fields from the selected endpoint before dumping raw JSON.
  • When using getYoutubeVideoDetailV1, explain why the returned fields answer the user's question.
  • If the user gave filters such as channelId, cursor, videoId, echo those back so the scope is explicit.
  • If the backend errors, include the backend payload and the exact operation ID.