ChrisMichaelPerezSantiago / covid19

This API provides updated real-time data on coronavirus cases from the worldometers page, provided by the most reputable organizations and statistical offices in the world.
MIT License
76 stars 17 forks source link

GlobalData API Error #20

Closed Kingsman44 closed 4 years ago

Kingsman44 commented 4 years ago

I am trying to use your GlobalData API https://covid19-server.chrismichael.now.sh/api/v1/GlobalDataReports gives Error 502: BAD_GATEWAY

ChrisMichaelPerezSantiago commented 4 years ago

Hi @Kingsman44

Yes, unfortunately that function I will eliminate it, since it is impossible to request the data due to the large amount that is in the table.

I understand that yes, you can get the data using the getGlobalData function of the API but I still do not recommend it because it takes a while to get the data.

I'll see what I can do..

Sorry for the inconvenience!

ChrisMichaelPerezSantiago commented 4 years ago

@Kingsman44

He shows the following error

Error 502: BAD_GATEWAY

Since I am using a free version where I have the API hosted and it limits the waiting time to <10s. The premium version yes, extends the waiting time 10+ s

Unfortunately I can't buy the premium version since I don't work and I can't pay the monthly fee