Closed SirRufo closed 1 year ago
Bei der Abfrage der aktuellen Zahlen über https://api.corona-zahlen.org/districts erhält man nicht die aktuellen Zahlen, sondern die eingefrorenen von vor 5 Tagen.
{ "data": { "10041": { "weekIncidence": 14.971706530108406, }, "10042": { "weekIncidence": 10.635623537601763, }, } }
Vergleiche dazu die Abfrage https://api.corona-zahlen.org/districts/history/frozen-incidence/5 wo die aktuellen Zahlen stimmen
{ "data": { "10041": { "history": [ { "weekIncidence": 14.9717065301, "date": "2023-04-27T00:00:00.000Z", }, { "weekIncidence": 16.193886655, "date": "2023-05-01T00:00:00.000Z", } ] }, "10042": { "history": [ { "weekIncidence": 10.6356235376, "date": "2023-04-27T00:00:00.000Z", }, { "weekIncidence": 9.6687486705, "date": "2023-05-01T00:00:00.000Z", } ] } } }
Ich habe die JSON Daten auf das Wesentliche reduziert
jetzt passt es wieder!
{ "data":{ "10041":{ "weekIncidence":16.193886655015216, }, "10042":{ "weekIncidence":9.668748670547059, } } }
Bei der Abfrage der aktuellen Zahlen über https://api.corona-zahlen.org/districts erhält man nicht die aktuellen Zahlen, sondern die eingefrorenen von vor 5 Tagen.
Vergleiche dazu die Abfrage https://api.corona-zahlen.org/districts/history/frozen-incidence/5 wo die aktuellen Zahlen stimmen
Ich habe die JSON Daten auf das Wesentliche reduziert