- Scrumball-API
- Code-状态码
- tiktok
- instagram
- youtube
- twitch
- 受众画像
监 控用户直播
POST
/api/v1/twitch/monitor/user
twitch
请求参数
Header 参数
Authorization
string
可选
默认值:
{{auth_key}}
Body 参数application/json
监控用户请求
monitor_url
string <uri>
Monitor Url
>= 1 字符<= 2083 字符
monitor_start_time
string <date-time>
Monitor Start Time
monitor_end_time
string <date-time>
Monitor End Time
示例
{
"monitor_url": "http://example.com",
"monitor_start_time": "2019-08-24T14:15:22Z",
"monitor_end_time": "2019-08-24T14:15:22Z"
}
示例代码
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/monitor/user' \
--header 'Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"monitor_url": "http://example.com",
"monitor_start_time": "2019-08-24T14:15:22Z",
"monitor_end_time": "2019-08-24T14:15:22Z"
}'
返回响应
🟢200成功
application/json
Body
success
boolean
Success
默认值:
true
code
integer
Code
默认值:
200
message
string
Message
默认值:
请求成功
data
Data
Any of
示例
{
"success": true,
"code": 200,
"message": "请求成功",
"data": "string"
}
🟠422参数错误