- Scrumball-API
- Code-状态码
- tiktok
- instagram
- youtube
- twitch
- 受众画像
用户视频
GET
/api/v1/twitch/user/videos
twitch
请求参数
Query 参数
user_id
string
User Id
示例值:
19571641
offset
string
Offset
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/user/videos?user_id=19571641' \
--header 'Authorization: '
返回响应
🟢200成功
application/json
Body
success
boolean
Success
默认值:
true
code
integer
Code
默认值:
200
message
string
Message
默认值:
请求成功
data
必需
Any of
more
More
offset
Offset
videos
Videos
示例
{
"success": true,
"code": 200,
"message": "请求成功",
"data": {
"more": true,
"offset": "string",
"videos": [
{
"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参数错误