跳转到项目内容
研究方法 · Skill · 站内全文

账号研究方法

TikHub · 多平台研究方法 · English · 原始日期未注明

原作者研究方法,English。文内工具与接口按原文保留;本页供研读,实际使用的依赖见参考文件。

本资料包的参考文件(5)
本页目录

TikHub — Endpoint Discovery

TikHub has 1,100+ endpoints. This skill finds the one you need, then hands off to a calling path.

Setup gate

# The bundled index is searchable offline — no key needed to FIND an endpoint.
# But CALLING any endpoint you find requires a key:
[ -z "${TIKHUB_API_KEY:-}" ] && echo "Index search works without a key; to actually call an endpoint, set TIKHUB_API_KEY (see tikhub-onboarding)."

Use the bundled search CLI

bin/tikhub-find-endpoint (on PATH when the plugin is enabled) searches a trimmed index of every endpoint (method, path, tag, summary, params):

# goal-based search, scoped to a platform
tikhub-find-endpoint "one video" --platform tiktok
tikhub-find-endpoint "user posts" --platform douyin
tikhub-find-endpoint "comments" --platform youtube --method GET

# no platform filter — search everything
tikhub-find-endpoint "trending hashtag"
tikhub-find-endpoint "price calculate"        # find the pricing/credit endpoints

Output lines look like:

GET  /api/v1/tiktok/app/v3/fetch_one_video  [TikTok-App-V3-API]  params: aweme_id

The index lives at references/openapi-index.json and is regenerated with python3 scripts/build-openapi-index.py when the API version changes.

Map a result to a calling path

Given GET /api/v1/{platform}/{api}/{action}:

  • REST → curl "https://api.tikhub.io{path}?param=..." -H "Authorization: Bearer $TIKHUB_API_KEY" (see tikhub-rest-api).
  • SDK → client.{platform}_{api}.{action}(...) (see tikhub-python-sdk).
  • MCP → the matching tikhub-{platform} server tool, if that platform is enabled (see tikhub-mcp).

Platforms without a dedicated skill

For LinkedIn, Reddit, Bilibili, Weibo, WeChat, Kuaishou, Zhihu, Lemon8, Toutiao, Xigua, PiPiXia, and Temp-Mail, discovery + REST/SDK/MCP is the path — there are no v1 platform skills.

Red flags

  • Guessing endpoint paths instead of searching the index (paths and param names are specific).
  • Forgetting param names — the CLI prints them; pass them exactly.
资料信息
资料提供方
TikHub
采用方式
站内全文
核查日期
2026-10-24
版本
755a540afa53dbc31993cb7567376db0ea0fca4f
许可
MIT
原资料入口 ↗
← 返回系统学习
抖音运营基地 · 学习与研究按资料原有时间与适用条件研读。
网站更新 · 持续记录

通知公告

联系我们

博主藏经阁

联系我们