获取角色展柜以及玩家信息
GET
https://enka.network/api/uid/{uid}/
请求参数
Path 参数
uid
integer
必需
示例值:
618285856
示例代码
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://enka.network/api/uid/618285856/'
返回响应
🟢200成功
application/json
Body
playerInfo
object
必需
nickname
string
必需
level
integer
必需
signature
string
必需
worldLevel
integer
必需
nameCardId
integer
必需
finishAchievementNum
integer
必需
towerFloorIndex
integer
必需
towerLevelIndex
integer
必需
showAvatarInfoList
array [object {2}]
必需
showNameCardIdList
array[integer]
必需
profilePicture
object
必需
avatarInfoList
array [object {10}]
必需
avatarId
integer
必需
propMap
object
必需
talentIdList
array[integer]
必需
fightPropMap
object
必需
skillDepotId
integer
必需
inherentProudSkillList
array[integer]
必需
skillLevelMap
object
必需
proudSkillExtraLevelMap
object
必需
equipList
array [object {4}]
必需
fetterInfo
object
必需
ttl
integer
必需
uid
string
必需
owner
object
必需
hash
string
必需
username
string
必需
profile
object
必需
id
integer
必需
示例
{
"playerInfo": {
"nickname": "string",
"level": 0,
"signature": "string",
"worldLevel": 0,
"nameCardId": 0,
"finishAchievementNum": 0,
"towerFloorIndex": 0,
"towerLevelIndex": 0,
"showAvatarInfoList": [
{
"avatarId": 0,
"level": 0
}
],
"showNameCardIdList": [
0
],
"profilePicture": {
"avatarId": 0
}
},
"avatarInfoList": [
{
"avatarId": 0,
"propMap": {
"1001": {
"type": 0,
"ival": "string"
},
"1002": {
"type": 0,
"ival": "string",
"val": "string"
},
"1003": {
"type": 0,
"ival": "string"
},
"1004": {
"type": 0,
"ival": "string"
},
"4001": {
"type": 0,
"ival": "string",
"val": "string"
},
"10010": {
"type": 0,
"ival": "string",
"val": "string"
},
"10049": {
"type": 0,
"ival": "string",
"val": "string"
}
},
"talentIdList": [
0
],
"fightPropMap": {
"1": 0,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0,
"20": 0,
"21": 0,
"22": 0,
"23": 0,
"24": 0,
"26": 0,
"27": 0,
"28": 0,
"29": 0,
"30": 0,
"40": 0,
"41": 0,
"42": 0,
"43": 0,
"44": 0,
"45": 0,
"46": 0,
"50": 0,
"51": 0,
"52": 0,
"53": 0,
"54": 0,
"55": 0,
"56": 0,
"70": 0,
"72": 0,
"75": 0,
"1000": 0,
"1002": 0,
"1005": 0,
"1010": 0,
"2000": 0,
"2001": 0,
"2002": 0,
"2003": 0,
"2004": 0,
"3045": 0,
"3046": 0
},
"skillDepotId": 0,
"inherentProudSkillList": [
0
],
"skillLevelMap": {
"10017": 0,
"10032": 0,
"10041": 0,
"10321": 0,
"10322": 0,
"10323": 0,
"10371": 0,
"10372": 0,
"10373": 0,
"10381": 0,
"10382": 0,
"10385": 0
},
"proudSkillExtraLevelMap": {
"2132": 0,
"2139": 0,
"2532": 0,
"2539": 0,
"3232": 0,
"3239": 0
},
"equipList": [
{
"itemId": 0,
"reliquary": {
"level": 0,
"mainPropId": 0,
"appendPropIdList": [
0
]
},
"flat": {
"nameTextMapHash": "string",
"rankLevel": 0,
"itemType": "string",
"icon": "string",
"equipType": "string",
"setNameTextMapHash": "string",
"reliquarySubstats": [
{
"appendPropId": "string",
"statValue": 0
}
],
"reliquaryMainstat": {
"mainPropId": "string",
"statValue": 0
},
"weaponStats": [
{
"appendPropId": "string",
"statValue": 0
}
]
},
"weapon": {
"level": 0,
"promoteLevel": 0,
"affixMap": {
"111403": 0,
"111503": 0,
"115503": 0,
"115512": 0
}
}
}
],
"fetterInfo": {
"expLevel": 0
}
}
],
"ttl": 0,
"uid": "string",
"owner": {
"hash": "string",
"username": "string",
"profile": {
"bio": "string",
"level": 0,
"signup_state": 0,
"avatar": "string",
"image_url": "string"
},
"id": 0
}
}
修改于 2023-12-17 01:17:21