tikhub-api-helperlisted
Install: claude install-skill tiendatne2004/tikhub_api_skill
# TikHub API Helper
A skill to help users search, find, and call TikHub API endpoints for social media data.
## Quick Start
When a user asks about TikHub API or wants to fetch social media data:
1. **Search for relevant APIs** using the searcher script
2. **Show the user available options** with parameters
3. **Call the API** with appropriate parameters
4. **Return formatted results** to the user
## Available Scripts
### API Searcher - `api_searcher.py`
Search and find relevant TikHub API endpoints.
```bash
# Search by keyword
python api_searcher.py "user profile"
python api_searcher.py "视频评论"
python api_searcher.py "trending"
# List all APIs for a specific tag/category
python api_searcher.py tag:TikTok-Web-API
python api_searcher.py tag:Douyin-App-V3-API
# List popular/common APIs
python api_searcher.py popular
# List all available tags/categories
python api_searcher.py tags
# Get detailed info for a specific API
python api_searcher.py detail:tiktok_web_fetch_user_profile_get
```
### API Client - `api_client.py`
Make HTTP requests to TikHub API endpoints.
```bash
# Health check (no authentication required)
python api_client.py GET /api/v1/health/check
# Get user profile
python api_client.py GET /api/v1/tiktok/web/fetch_user_profile "sec_user_id=MS4wLjABAAAA..."
# Search for videos
python api_client.py GET /api/v1/tiktok/web/fetch_search_video "keyword=gaming"
# POST request with JSON body
python api_client.py POST /api/v1/tiktok/web/generate_xgnarly '{"url"