Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

List of countries not alphabetical #299

Open
israel-oye opened this issue Mar 15, 2024 · 5 comments
Open

List of countries not alphabetical #299

israel-oye opened this issue Mar 15, 2024 · 5 comments

Comments

@israel-oye
Copy link

The returned array of country objects is not in alphabetical order.

[
  {
    "name": {
      "common": "Cyprus",
      ...
      }
  },
  ...
]

Cyprus is the first country listed and this is not meant to be.

@amatosg
Copy link

amatosg commented Mar 16, 2024

are you using Api Layer's API?

and ordering should be on your side

@EmanuelCav
Copy link

I guess you are using this API:

https://restcountries.com/v3.1/all

@amatosg
Copy link

amatosg commented Mar 18, 2024

This is not the repository for the .com version. This is for the .eu version owned by apilayer

@israel-oye
Copy link
Author

I guess you are using this API:

https://restcountries.com/v3.1/all

Affirmative. Is there anyway around this?

@amatosg
Copy link

amatosg commented Mar 22, 2024

This is not the repository for the .com version. This is for the .eu version owned by apilayer

@israel-oye again, this is not the correct repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants