Skip to content

Misalignment between endpoints data #218

@Zetouny

Description

@Zetouny

I've noticed a couple of conflicts in the data, and I'm not sure which one is more accurate/correct. So I'll leave it to you to decide.
I've only tested these endpoints so far, so I'm not sure if the same problem is there somewhere else.

Lastly, I'm sorry if these are a feature, not a bug, and sorry for any inconvenience.

1- iso2 for Greece is different here:

https://countriesnow.space/api/v0.1/countries/positions
{
      "name": "Greece",
      "iso2": "EL",
      "long": 22,
      "lat": 39
}
https://countriesnow.space/api/v0.1/countries/flag/images
{
      "name": "Greece",
      "flag": "https://upload.wikimedia.org/wikipedia/commons/5/5c/Flag_of_Greece.svg",
      "iso2": "GR",
      "iso3": "GRC"
}
  1. Country name of Brunei
https://countriesnow.space/api/v0.1/countries/positions
{
      "name": "Brunei Darussalam",
      "iso2": "BN",
      "long": 114.6667,
      "lat": 4.5
}
https://countriesnow.space/api/v0.1/countries/flag/images
{
      "name": "Brunei",
      "flag": "https://upload.wikimedia.org/wikipedia/commons/9/9c/Flag_of_Brunei.svg",
      "iso2": "BN",
      "iso3": "BRN"
}
  1. Country name of Iran
https://countriesnow.space/api/v0.1/countries/positions
{
      "name": "Iran, Islamic Republic of",
      "iso2": "IR",
      "long": 53,
      "lat": 32
}
https://countriesnow.space/api/v0.1/countries/flag/images
{
      "name": "Iran",
      "flag": " https://upload.wikimedia.org/wikipedia/commons/c/ca/Flag_of_Iran.svg",
      "iso2": "IR",
      "iso3": "IRN"
}
  1. Country name of Venezuela
https://countriesnow.space/api/v0.1/countries/positions
{
      "name": "Venezuela, Bolivarian Republic of",
      "iso2": "VE",
      "long": -66,
      "lat": 8
}
https://countriesnow.space/api/v0.1/countries/flag/images
{
      "name": "Venezuela",
      "flag": "https://upload.wikimedia.org/wikipedia/commons/0/06/Flag_of_Venezuela.svg",
      "iso2": "VE",
      "iso3": "VEN"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions