Suggestions

Back

Make API Return UUID Instead Of Usernames



CombatMC CombatMC: over 3 years ago

API are not supposed to be user-friendly... why is it even returning usernames? Currently, we need to fetch players' UUID using usernames from Mojang API which longer our process.


0
1

Comments

Jeroeno_Boy Jeroeno_Boy: over 3 years ago

That’s why caching exists, also including the username is important for me atleast

CombatMC CombatMC: over 3 years ago

Uuid represent the account, usernames are just display of that account. Of course you could use cache for this, but wouldn't it better if we just have uuid at first place. With Uuid, you could get any account detail in just one fetch, but if u want to get details for example player skin, you will need to first convert it to uuid then use the uuid to fetch for skin.

CombatMC CombatMC: over 3 years ago

CORRECTION: Uuid represent the account, usernames are just display of that account. Of course you could use cache for this, but wouldn't it better if we just have uuid at first place. With Uuid, you could get any account detail in just one fetch, but if u want to get details with usernames for example player skin, you will need to first convert it to uuid then use the uuid to fetch for skin.

Partydragen Partydragen: over 3 years ago

You talk about https://api.playerservers.com/servers ?

CombatMC CombatMC: over 3 years ago

yes.

Search Keyword


Suggestion

Views
1717
Likes
0
Dislikes
1
Category
Network
Status
Open