VACCOVID - coronavirus, vaccine and treatment tracker

GRATIS
Door vaccovidlive | Bijgewerkt ืœืคื ื™ 25 ื™ืžื™ื | Data
Populariteit

0.4 / 10

Latency

195ms

Serviceniveau

0%

Health Check

N/A

Terug naar alle discussies

Troubleshooting new cases for specific countries

Rapid account: S 10204971
s10204971
ืœืคื ื™ 3 ืฉื ื™ื

While utilizing VACCOVID, I noticed โ€œnew casesโ€ for most countries were logged at 0 while other figures such as total case count and deaths were accurate. Even on https://vaccovid.live/ , most new cases logged are zero, may I enquire if I have misunderstood the meaning of new cases or is there something wrong with the API?

Rapid account: Vaccovid
vaccovid Commented ืœืคื ื™ 3 ืฉื ื™ื

Hi there. thanks for the comment.

  • The real mechanism for fetching data in this API, is that it updates whole data every 5 minutes. Since any country updates its own data based on different time-zones, every 24 hours, the new-cases gets updated once to 0, and then to the real numbers. And it happens only when the country reveals its own data.

  • You can simply add an if() statement to check for passing data.
    If it was 0, it shouldnโ€™t update new_cases.

if you had further questions, please contact me on Telegram with this ID: @arman_feili

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen