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.
That’s why caching exists, also including the username is important for me atleast
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.
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.