查询用户 steam 信息
GET
/merchant/account/v1/steamInfo
请求参数
Authorization
在 query 添加参数
app-key
示例:
app-key: ********************
Query 参数
app-key
string
可选
默认值:
{{app-key}}
Header 参数
app-key
string
可选
默认值:
d6717ac8122b4e2dae6c6f25e95ede2f
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://openapi.c5game.com//merchant/account/v1/steamInfo?app-key' \
--header 'app-key: d6717ac8122b4e2dae6c6f25e95ede2f'
返回响应
🟢200成功
application/json
Body
com.xingchao.platform.inf.web.response.WebApiRes<com.c5game.open.platform.api.vo.UserSteamVO>
success
boolean | null
可选
data
object (UserSteamVO)
可选
uid
integer | null
用户id
avatar
string | null
用户头像
nickname
string | null
用户昵称
balance
number | null
用户账户余额
steamList
array[object (SteamInfoVO) {2}] | null
steam信息列表
errorCode
integer | null
可选
errorMsg
string | null
可选
errorData
object (Object)
可选
errorCodeStr
string | null
可选
示例
{
"success": true,
"data": {
"uid": "123456",
"avatar": "https://i.c5game.com/image/u-887621619f27068ca3e.jpg",
"nickname": "这是昵称",
"balance": 1090.3,
"steamList": [
{
"steamId": "76561198152000000",
"avatar": "头像地址"
},
{
"steamId": "76561198168000000",
"avatar": "头像地址"
}
]
},
"errorCode": 0,
"errorMsg": null,
"errorData": null,
"errorCodeStr": null
}
修改于 2023-09-27 09:10:18