- Scrumball-API
- Code-状态码
- tiktok
- instagram
- youtube
- twitch
- 受众画像
视频详情
GET
/api/v1/twitch/video/detail
twitch
请求参数
Query 参数
video_id
string
Video 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
Body
success
boolean
Success
默认值:
true
code
integer
Code
默认值:
200
message
string
Message
默认值:
请求成功
data
必需
Any of
video_id
Video Id
stream_id
Stream Id
user_id
User Id
user_login
User Login
user_name
User Name
title
Title
description
Description
created_at
Created At
published_at
Published At
url
Url
thumbnail_url
Thumbnail Url
viewable
Viewable
view_count
View Count
language
Language
type
Type
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参数错误