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/user/info
twitch

请求参数

Query 参数
user_login
string 
User Login
可选
user_login
示例值:
ninja
user_id
string 
User Id
可选
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
Successful Response
Body
success
boolean 
Success
可选
默认值:
true
code
integer 
Code
可选
默认值:
200
message
string 
Message
可选
默认值:
请求成功
data
必需
Any of
twitch用户信息
user_id
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参数错误
上一页
互动行为(interactive behavior)
下一页
用户视频
Built with