EnkaNetwork / API-docs

API documentation for the Enka.Network API responses and structure.
https://api.enka.network/
205 stars 45 forks source link

Unable to get player's avatarId #61

Closed Mega-Z closed 8 months ago

Mega-Z commented 8 months ago

i've tried this api :https://enka.network/api/uid/210441179. but there's no "avatarId" in "profilePicture" field, only "id", is there any way to get player's avatar image in Genshin?

kazuryyx commented 8 months ago

id = not migrated after 4.1 avatarId = migrated after 4.1 and may have costumeId field

yuko1101 commented 8 months ago

you can use ProfilePictureExcelConfigData.json to get profile icons by the "id".

Mega-Z commented 8 months ago

thanks!