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

What happend to the api? is it down forever? will it come back? #253

Open
mark909099 opened this issue Sep 22, 2021 · 39 comments
Open

What happend to the api? is it down forever? will it come back? #253

mark909099 opened this issue Sep 22, 2021 · 39 comments

Comments

@mark909099
Copy link

The url "https://restcountries.eu/rest/v2/all" doesn't give countries information.

It display error message: "The page you requested could not be found. Try refining your search, or use the navigation above to locate the post".

@amatosg
Copy link

amatosg commented Sep 22, 2021

I'm not sure. It looks like they never renewed their SSL certificate. In the meantime, you can use https://restcountries.com/ is a cloned repo that I update frecuently

@fanetech
Copy link

how do?
i'have the same problem

@amatosg
Copy link

amatosg commented Sep 22, 2021

you can check this information

https://gitlab.com/amatos/rest-countries/-/blob/master/README.md

@Developer-Raman
Copy link

This now available in v3 version.
Please check out https://restcountries.com

@mark909099
Copy link
Author

This now available in v3 version.
Please check out https://restcountries.com

Thanks alot!

@AntonioChicano
Copy link

The https://restcountries.com/ API works very well minus the flags.
For some reason, the flags do not show them and I have checked my code but everything is fine.

because it can be?

@PaulRosset
Copy link

Thank you for forking the original repo!

Do also experience a slow response time for the URL https://restcountries.com/ ?

@AntonioChicano
Copy link

Yes. Very slow

@amatosg
Copy link

amatosg commented Sep 24, 2021

you're right. Is taking way too long to respond. I'll take a look at that

@absolutecommunications
Copy link

Thank you, amatosg you rock!

@amatosg
Copy link

amatosg commented Sep 24, 2021

Yes. Very slow

it looks like the CPU was at 100% all the time. Now is under 500ms

@ePascalC
Copy link
Collaborator

Message from apilayer support: We no longer support restcountries.eu; however, we do offer a free tier of a similar API on countrylayer.com. See https://countrylayer.com/documentation/

@maPer77
Copy link

maPer77 commented Sep 27, 2021

Does anyone know since which day restcountries.eu is down?
I would like to know how many days my app has been broken... 😞

@ePascalC
Copy link
Collaborator

@maPer77 the first issue raised here was #250, so consider issues from that date.

@PaulRosset
Copy link

PaulRosset commented Sep 27, 2021

The Free tier from https://countrylayer.com/documentation/ is 100 requests a month, what we are supposed to do with that ^^

@amatosg
Copy link

amatosg commented Sep 27, 2021

100 requests a month

I thought it was a day....

@chrismwalker-portfolio
Copy link

chrismwalker-portfolio commented Sep 28, 2021

@amatosg What has happened to v2 of the API, for example https://restcountries.com/v2/alpha/col. I updated my code to accommodate 'subregion' becoming 'region', and for 'flags' now being an array containing both SVG and PNG images, but today I notice v2 has reverted back to the old format response - just a single SVG flag, and 'subregion' is back again. Is this an intentional change, and will it now stay like this? Thanks for keeping the API alive!

@K2ouMais
Copy link

K2ouMais commented Sep 28, 2021

This API is not for free anymore. To be honest it is horrible now.

The documentation shows fields that arent there anymore.

Documentation:
Countrylayer_Documentation

API Response:
Countrylayer_Response

This is a perfect example how it shouldnt be made.

You cant even filter by field name and so on.

This API is dead for me at least.

@amatosg
Copy link

amatosg commented Sep 28, 2021

@amatosg What has happened to v2 of the API, for example https://restcountries.com/v2/alpha/col. I updated my code to accommodate 'subregion' becoming 'region', and for 'flags' now being an array containing both SVG and PNG images, but today I notice v2 has reverted back to the old format response - just a single SVG flag, and 'subregion' is back again. Is this an intentional change, and will it now stay like this? Thanks for keeping the API alive!

@chrismwalker-portfolio yes, the changes were intentional. Sorry about that. The idea is to support the compatibility to this project so migration is easier

@amatosg
Copy link

amatosg commented Sep 28, 2021

This API is dead for me at least.

this API is dead for everyone

@chrismwalker-portfolio
Copy link

@chrismwalker-portfolio yes, the changes were intentional. Sorry about that. The idea is to support the compatibility to this project so migration is easier

No problem, it makes sense to keep it aligned to the original v2 API. Thanks again for all your work!

@PeterKassenaar
Copy link

@amatosg Thanks for the new fork/repo. Donated.

@amatosg
Copy link

amatosg commented Sep 28, 2021

I you have any issues, please report them here

@anoop4real
Copy link

OMG Will the API come back?...seem to be certificate issue

@amatosg
Copy link

amatosg commented Sep 30, 2021

OMG Will the API come back?

No, but they offer a free tier where you can make 100 requests per month

meta72 added a commit to meta72/restcountries that referenced this issue Oct 12, 2021
@rwieruch
Copy link

@amatosg the website is down. Is there anything that we can to help?

@tricipitinus
Copy link

oh noes! we were actually hoping this would be the more stable option? Any word on what's the cause and how long it will take?
Why doesn't the UN offer this service anyway?

@chrismwalker-portfolio
Copy link

@amatosg I've raised it here as well. Thanks!

@weilinzung
Copy link

v3.1 is down now...

@ePascalC
Copy link
Collaborator

@weilinzung @tricipitinus @rwieruch, if you have an issue with that website, please create an issue on the dedicated issue log like @chrismwalker-portfolio did on GitLab https://gitlab.com/amatos/rest-countries/-/issues or eventually on the mirror on GitHub https://github.com/amatosg/restcountries/issues
Thanks.

@NizarBerjawi
Copy link

If you're looking for a substitute API check out: https://placesapi.dev/

mateuszdomagala added a commit to mateuszdomagala/vue-rest-countries-api that referenced this issue Jan 12, 2022
# Story Title

[API is not supported anymore](#26)

## Changes made

* fix: replace API with a new one

## How does the solution address the problem

This PR will replace [the original API](https://github.com/apilayer/restcountries), which [no longer works and is not supported](apilayer/restcountries#253), with [a similar one](https://gitlab.com/amatos/rest-countries) based on a clone of the original.

## Linked issues

Resolves #26
@gobinda-prasad-paudel
Copy link

Bro , after doing some search on internet I have found a result . The alternative or same of https://restcountries.eu/rest/v2/all is https://restcountries.com/v2/all

@nihalanisumit
Copy link

is this down again?

@sumithlogi
Copy link

Its unavailable again

@amatosg
Copy link

amatosg commented Mar 16, 2023

if you have issues with restcountries.com then please create a new issue here: https://gitlab.com/restcountries/restcountries/

@samathi-97
Copy link

is this down again?

yes

mattmonkey83 added a commit to zestia/devops-challenges that referenced this issue Jun 8, 2023
Original API is now dead - apilayer/restcountries#253

Updating to use a current fork project.
mattmonkey83 added a commit to zestia/devops-challenges that referenced this issue Jun 8, 2023
Original API is now dead - apilayer/restcountries#253

Updating to use a current fork project.
@Ehtz
Copy link

Ehtz commented May 25, 2024

https://restcountries.com/v3.1 is down

@ExtAnimal
Copy link

restcountries.com is down:

Screenshot 2024-06-06 at 17 10 45

@amatosg
Copy link

amatosg commented Jun 10, 2024

@ExtAnimal wrong 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