- Scrumball-API
- Code-状态码
- tiktok
- instagram
- youtube
- twitch
- 受众画像
搜索类别
POST
/api/v1/twitch/search/categories
twitch
请求参数
Header 参数
Authorization
string
可选
默认值:
{{auth_key}}
Body 参数application/json
搜索类别
query
string
Query
first
integer
First
<= 100> 0
默认值:
20
after
After
Any of
示例
{
"query": "string",
"first": 20,
"after": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openapi.scdata.cc/api/v1/twitch/search/categories' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "string",
"first": 20,
"after": "string"
}'
返回响应
🟢200成功
application/json
Body
success
boolean
Success
默认值:
true
code
integer
Code
默认值:
200
message
string
Message
默认值:
请求成功
data
必需
Any of
more
More
offset
Offset
data
Data
示例
{
"success": true,
"code": 200,
"message": "请求成功",
"data": {
"more": true,
"offset": "string",
"data": [
{
"box_art_url": "string",
"id": 0,
"name": "string"
}
]
}
}
🟠422参数错误