covid19india / api

Moved to https://github.com/covid19india/data/
https://api.covid19india.org
MIT License
678 stars 605 forks source link

Data undefined in "state_test_data" ? #431

Closed the-wrong-guy closed 3 years ago

the-wrong-guy commented 4 years ago

The testsperthousand and testpositivityrate got undefined which was working yesterday

Please look at this issue asap

sky-megh commented 4 years ago

We're facing the same issue! Is there a particular reason why these variables have been discontinued?

the-wrong-guy commented 4 years ago

We're facing the same issue! Is there a particular reason why these variables have been discontinued?

Well Idk, they have changed some their urls too I guess

sudevschiz commented 4 years ago

@the-wrong-guy thanks for reporting the issue. Could you post the endpoint that you are using?

sudevschiz commented 4 years ago

@the-wrong-guy @sky-megh These fields have not been updated for long. It's better if you calculate the testpositivity rate at your end from the cases and the tests conducted.

Also, you can get the state and district population that we are using from : https://api.covid19india.org/misc.json

the-wrong-guy commented 4 years ago

@the-wrong-guy @sky-megh These fields have not been updated for long. It's better if you calculate the testpositivity rate at your end from the cases and the tests conducted.

Also, you can get the state and district population that we are using from : https://api.covid19india.org/misc.json

Well I have little confusion on which particular end point the error is happening cause while in my app I am getting different data but again testing in Postman I am getting different set of data. So again I will check and let you know soon