- Scrumball-API
- Code-状态码
- tiktok
- instagram
- youtube
- twitch
- 受众画像
用户信息
GET
/api/v1/twitch/user/info
twitch
请求参数
Query 参数
user_login
string
User Login
示例值:
ninja
user_id
string
User Id
示例值:
35739604
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/info' \
--header 'Authorization: '
返回响应
🟢200成功
application/json
Body
success
boolean
Success
默认值:
true
code
integer
Code
默认值:
200
message
string
Message
默认值:
请求成功
data
必需
Any of
user_id
User Id
user_login
User Login
display_name
Display Name
profile_url
Profile Url
description
Description
avatar
Avatar
follower_count
Follower Count
示例
{
"success": true,
"code": 200,
"message": "请求成功",
"data": {
"user_id": "string",
"user_login": "string",
"display_name": "string",
"profile_url": "string",
"description": "string",
"avatar": "string",
"follower_count": 0
}
}
🟠422参数错误