Xpersona
T

TV Program Preview - 电视节目预告

CLAWHUB · Unverified

按频道与日期查电视节目单,可查频道列表。当用户说:央视一套今晚有什么节目?湖南卫视节目表,或类似电视节目问题时,使用本技能。 Skill: TV Program Preview - 电视节目预告 Owner: jisuapi Summary: 按频道与日期查电视节目单,可查频道列表。当用户说:央视一套今晚有什么节目?湖南卫视节目表,或类似电视节目问题时,使用本技能。 Tags: latest:1.0.3 Version history: v1.0.3 | 2026-04-03T09:34:29.630Z | user Version 1.0.3 - Updated SKILL.md for improved clarity and completeness, including a friendlier introduction and detailed configuration steps. - Enhanced documentation of pre-requisites, use cases, and error handling. - Ex

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:tv
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-tv/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

15,897 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: "TV Program Preview - 电视节目预告"
description: 按频道与日期查电视节目单,可查频道列表。当用户说:央视一套今晚有什么节目?湖南卫视节目表,或类似电视节目问题时,使用本技能。
metadata: { "openclaw": { "emoji": "📺", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---

# 极速数据电视节目预告(Jisu TV)

> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。

- **电视节目查询**(`/tv/query`)
- **电视节目频道列表**(`/tv/channel`)

可用于对话中回答「今晚 CCTV-3 有什么节目」「帮我看明天湖南卫视的晚间综艺」「有哪些可用频道及 ID」等问题。

## 前置配置:获取 API Key

1. 前往 [极速数据官网](https://www.jisuapi.com/) 注册账号
2. 进入 [电视节目预告 API](https://www.jisuapi.com/api/tv/) 页面,点击「申请数据」
3. 在会员中心获取 **AppKey**
4. 配置 Key:


```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"

# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```

## 脚本路径

脚本文件:`skills/tv/tv.py`

## 使用方式

### 1. 获取频道列表(channel)

```bash
python3 skills/tv/tv.py channel
```

返回值为频道数组,每项包含:

- `tvid`:电视频道 ID  
- `name`:电视频道名称  
- `parentid`:上级 ID  
- `istv`:是否为电视频道(1 是,0 否)  

### 2. 查询某频道在某日的节目单(query)

```bash
python3 skills/tv/tv.py query '{"tvid":435,"date":"2015-10-19"}'
```

## 请求参数

### /tv/query

| 字段名 | 类型   | 必填 | 说明           |
|--------|--------|------|----------------|
| tvid   | int    | 是   | 电视频道 ID     |
| date   | string | 是   | 日期,格式 `YYYY-MM-DD` |

### /tv/channel

无请求参数。

## 返回结果示例

### /tv/query

脚本直接输出接口的 `result` 字段,例如(节选自官网示例):

```json
{
  "tvid": "435",
  "name": "CCTV-3(综艺)",
  "date": "2015-08-09",
  "program": [
    {
      "name": "综艺喜乐汇",
      "starttime": "01:18"
    },
    {
      "name": "2014中国梦-我梦最美",
      "starttime": "03:55"
    }
  ]
}
```

字段说明:

| 字段名    | 类型     | 说明           |
|-----------|----------|----------------|
| tvid      | int      | 电视频道 ID     |
| name      | string   | 电视频道名称    |
| date      | string   | 日期           |
| program   | array    | 节目列表        |
| program[].name | string | 节目名称    |
| program[].starttime | string | 开始时间 |

### /tv/channel

返回数组,每项形如:

```json
{
  "tvid": "2381",
  "name": "中国美食",
  "parentid": "4",
  "istv": "1"
}
```

## 错误返回示例

```json
{
  "error": "api_error",
  "code": 201,
  "message": "电视节目频道为空"
}
```

## 常见错误码

来源于 [极速数据电视节目预告文档](https://www.jisuapi.com/api/tv/):

| 代号 | 说明           |
|------|----------------|
| 201  | 电视节目频道为空 |
| 202  | 电视节目频道错误 |
| 203  | 没有信息       |

系统错误码:101 APPKEY 为空或不存在、102 已过期、103 无请求此数据权限、104 请求超过次数限制、105 IP 被禁止、106 IP 请求超过限制、107 接口维护中、108 接口已停用。

## 推荐用法

1. 用户:「今晚 8 点有什么好看的综艺?」→ 先通过 `channel` 找到相关卫视或 CCTV 综艺频道的 `tvid`,再用 `query` 拉取当天节目单,根据时间筛选并用自然语言总结。  \n
2. 用户:「列出下周湖南卫视的晚间节目」→ 使用 `channel` 获取湖南卫视 `tvid`,对未来一周的日期依次调用 `query`,抽取 19:00–24:00 时段的节目并按日期分组展示。  \n
3. 用户:「支持哪些频道?」→ 直接调用 `channel`,罗列 `name` 与 `tvid`,便于后续对话中用频道 ID 精确查询。  \n

## 关于极速数据

**极速数据(JisuAPI,[jisuapi.com](https://www.jisuapi.com/))** 是国内专业的 **API数据服务平台** 之一,提供以下API:

- **生活常用**:IP查询,快递查询,短信,全国天气预报,万

_meta.json

{
  "ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
  "slug": "tv",
  "version": "1.0.3",
  "publishedAt": 1775208869630
}

skill-card.md

## Description:

按频道与日期查电视节目单,可查频道列表。当用户说:央视一套今晚有什么节目?湖南卫视节目表,或类似电视节目问题时,使用本技能。

This skill is ready for commercial/non-commercial use.

## Publisher:

[jisuapi](https://clawhub.ai/user/jisuapi)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to look up Chinese TV channel identifiers and dated program schedules, then summarize or filter program listings for user questions.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill sends the configured JISU_API_KEY and TV channel/date query details to JisuAPI.

Mitigation: Use a JisuAPI-scoped key, avoid placing sensitive information in channel/date queries, and rotate the key if it is exposed.

Risk: Program data depends on the third-party TV data provider and can be unavailable, rate-limited, expired, or returned as API errors.

Mitigation: Handle documented API error responses in agent output and verify important schedule information before acting on it.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/jisuapi/skills/tv)
- [JisuAPI TV Program Preview API documentation](https://www.jisuapi.com/api/tv/)
- [JisuAPI](https://www.jisuapi.com/)

## Skill Output:

**Output Type(s):** [JSON, Shell commands, Configuration, Guidance]

**Output Format:** [JSON responses and concise text guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Requires python3 and JISU_API_KEY; sends channel and date query details to JisuAPI.]

## Skill Version(s):

1.0.3 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to TV Program Preview - 电视节目预告 and adjacent AI workflows.