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

视频详情

GET
/api/v1/twitch/video/detail
twitch

请求参数

Query 参数
video_id
string 
Video Id
必需
视频ID
示例值:
2300924413
Header 参数
Authorization
string 
可选
默认值:
{{auth_key}}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://openapi.scdata.cc/api/v1/twitch/video/detail?video_id=2300924413' \
--header 'Authorization: '

返回响应

🟢200成功
application/json
Successful Response
Body
success
boolean 
Success
可选
默认值:
true
code
integer 
Code
可选
默认值:
200
message
string 
Message
可选
默认值:
请求成功
data
必需
Any of
twitch视频信息
video_id
Video Id
可选
视频ID
stream_id
Stream Id
可选
stream_id
user_id
User Id
可选
user_id
user_login
User Login
可选
user_login
user_name
User Name
可选
user_name
title
Title
可选
title
description
Description
可选
description
created_at
Created At
可选
created_at
published_at
Published At
可选
published_at
url
Url
可选
url
thumbnail_url
Thumbnail Url
可选
thumbnail_url
viewable
Viewable
可选
viewable
view_count
View Count
可选
view_count
language
Language
可选
language
type
Type
可选
type
duration
Duration
可选
duration
示例
{
    "success": true,
    "code": 200,
    "message": "请求成功",
    "data": {
        "video_id": "string",
        "stream_id": "string",
        "user_id": "string",
        "user_login": "string",
        "user_name": "string",
        "title": "string",
        "description": "string",
        "created_at": "2019-08-24T14:15:22Z",
        "published_at": "2019-08-24T14:15:22Z",
        "url": "string",
        "thumbnail_url": "string",
        "viewable": "string",
        "view_count": 0,
        "language": "string",
        "type": "string",
        "duration": "string"
    }
}
🟠422参数错误
上一页
用户视频
下一页
视频徽标数据
Built with