scrumball-openapi
  1. twitch
scrumball-openapi
  • Scrumball-API
  • Code-状态码
  • tiktok
    • 用户信息
      GET
    • 用户视频
      GET
  • instagram
    • 用户信息
      GET
    • 用户贴文
      GET
  • youtube
    • 用户信息
      GET
    • 用户视频
      GET
  • 受众画像(audience)
    • YouTube
      • 地理位置(geography)
      • 语言(language)
      • 年龄(age)
      • 性别(gender)
      • 兴趣(interest)
      • 互动行为(interactive behavior)
    • TikTok
      • 地理位置(geography)
      • 语言(language)
      • 年龄(age)
      • 性别(gender)
      • 兴趣(interest)
      • 互动行为(interactive behavior)
    • Instagram
      • 地理位置(geography)
      • 语言(language)
      • 年龄(age)
      • 性别(gender)
      • 兴趣(interest)
      • 互动行为(interactive behavior)
  • twitch
    • 用户信息
      GET
    • 用户视频
      GET
    • 视频详情
      GET
    • 视频徽标数据
      GET
    • 视频聊天消息
      GET
    • 视频下载URL
      GET
    • 搜索类别
      POST
    • 搜索频道
      POST
    • 搜索直播
      POST
    • 监控用户直播
      POST
    • 获取监控任务列表
      GET
    • 获取监控直播列表
      GET
    • 获取直播观众人数变化
      GET
  1. twitch

监控用户直播

POST
/api/v1/twitch/monitor/user
twitch

请求参数

Header 参数
Authorization
string 
可选
默认值:
{{auth_key}}
Body 参数application/json
监控用户请求
monitor_url
string <uri>
Monitor Url
必需
监控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
Successful Response
Body
success
boolean 
Success
可选
默认值:
true
code
integer 
Code
可选
默认值:
200
message
string 
Message
可选
默认值:
请求成功
data
Data
必需
Any of
示例
{
    "success": true,
    "code": 200,
    "message": "请求成功",
    "data": "string"
}
🟠422参数错误
上一页
搜索直播
下一页
获取监控任务列表
Built with