centraldacopa

БЕЗКОШТОВНО
(Ким) diegurm | Оновлено vor 8 Tagen | Other
Популярність

0 / 10

Затримки

157ms

Рівень обслуговування

0%

Health Check

N/A

Повернутися до всіх обговорень

Utilizar alpha-2 code

Rapid account: Ronanrodrigo
ronanrodrigo
vor 10 Jahren

Além do retorno do nome abreviado, poderia haver o retorno do alpha-2 code https://www.iso.org/obp/ui/#search

Rapid account: Ronanrodrigo
ronanrodrigo Commented vor 10 Jahren

Esse mesmo

Rapid account: Diegurm
diegurm Commented vor 10 Jahren

O alpha-2 code que você se refere seria esse?
http://www.nationsonline.org/oneworld/country_code_list.htm

Rapid account: Mxrck
mxrck Commented vor 10 Jahren

this is working now?, I see “Cameroon” like “CAM” but in http://www.nationsonline.org/oneworld/country_code_list.htm is showing as CM for alpha-2 code and CMR for alpha-3 code.

Do you have a list of short custom names? or you can check if this is an issue?

Rapid account: Ronanrodrigo
ronanrodrigo Commented vor 10 Jahren

@mxrck the api until now the api don’t provide the alpha-2. Just the first third letters of teams in portuguese. I create a fix for that, creating a json object like this:

{"ALE": "DE", "AGL": "DZ", "ARG": "AR", "AUS": "AU", "BEL": "BE", "BOS": "BA", "BRA": "BR", "CAM": "CM", "CHI": "CL", "COL": "CO", "COR": "KR", "CDM": "CI", "COS": "CR", "CRO": "HR", "EQU": "EC", "ESP": "ES", "EUA": "US", "FRA": "FR", "GAN": "GH", "GRE": "GR", "HOL": "NL", "HON": "HN", "ING": "GB", "IRA": "IR", "ITA": "IT", "JAP": "JP", "MEX": "MX", "NGA": "NG", "POR": "PT", "RUS": "RU", "SUI": "CH", "URU": "UY"}```
Rapid account: Mxrck
mxrck Commented vor 10 Jahren

Perfect, thanks @ronanrodrigo

Приєднуйтесь до обговорення — додайте повідомлення нижче:

Вхід / Реєстрація, щоб публікувати нові повідомлення