Right now, we return country as a 2-3 character long string. Most country codes use 2 characters, but others don't have an official assigned code so they use the 3-character standard.
Semantics
It would be easier for developers to display country information if the name of the country was already expanded, possibly as a second field so the code can still be used.
"country": "CA",
"country_name": "Canada",
Or if we can give host an endpoint for the flag as well, maybe
Use-Case Description
Right now, we return
country
as a 2-3 character long string. Most country codes use 2 characters, but others don't have an official assigned code so they use the 3-character standard.Semantics
It would be easier for developers to display country information if the name of the country was already expanded, possibly as a second field so the code can still be used.
Or if we can give host an endpoint for the flag as well, maybe