mathdroid / covid-19-api

COVID-19 global data (from JHU CSSE for now) as-a-service
https://covid19.mathdro.id
1.36k stars 283 forks source link

No data for Taiwan #46

Closed frankdilo closed 4 years ago

frankdilo commented 4 years ago

Hey there, thanks for this project.

Data for Taiwan seems to be missing, even if available here.

Here the endpoint returning all zeros: covid19.mathdro.id/api/countries/TW

anthlubic commented 4 years ago

Looks like they might have changed it? Querying for Taiwan* brings results

frankdilo commented 4 years ago

What do you mean by "Querying for Taiwan* brings results"?

I am trying to get daily cases for Taiwan, can you tell me which endpoint to use?

randohinn commented 4 years ago

@frankdilo He meant use Taiwan* as the Country name in your request . Seemingly there's a * being parsed as a part of the country name for Taiwan..

frankdilo commented 4 years ago

Thing is both Taiwan and Taiwan* map to a TW two letter country code

mathdroid commented 4 years ago

Hi all, sorry for not managing to triage issues fast enough. I was busy creating the Indonesia specific API (https://github.com/mathdroid/indonesia-covid-19-api). As a result, I added @anthlubic to collaborate with me in this.