omaroid / covid-19-api Goto Github PK
View Code? Open in Web Editor NEWA realtime API for coronavirus cases on Heroku. Data automatically updated every 10 minutes!
Home Page: https://covid19api.herokuapp.com/
License: MIT License
A realtime API for coronavirus cases on Heroku. Data automatically updated every 10 minutes!
Home Page: https://covid19api.herokuapp.com/
License: MIT License
Thanks so much for this. I am going to switch to use this API. Is it ok if I use directly for my simple application?
A question for you: Would it be possible to extend the API to include filter by location (country or province)? If so that would reduce overhead for any users like myself that would like to slice the data down to more specific needs.
So, the endpoint could potentially be:
/confirmed/countrycode
/confirmed/countrycode/province
or something along those lines.
Also, for date: 2020-01-22 preferable to 1/22/20 -but not a big deal.
Thanks again!
It is possible to also have the atcive cases from the same API?
Hi. Thanks for putting this together.
The response from https://covid19api.herokuapp.com/confirmed is returning invalid json currently. Specifically:
Error: Parse error on line 15322:
...": 0, "3/23/20": NaN, "3/3/20": 0,
----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
Getting JSON format issue because of NaN values in some of the latitudes and longitudes. You could do a check before setting value into the latitudes and longitudes as you already have templated it as "nan"
"latest":306385,"province":"Quebec"},{"coordinates":{"latitude":NaN,"longitude":NaN},"country":"Canada",
Heads up:
Three new time series tables will be added for the US. The first two will be the confirmed cases and deaths, reported at the county level. The third, number of tests conducted, will be reported at the state level.
Changes to the current time series include the removal of the US state and county-level entries, which will be replaced with a new single country level entry for the US.
By the way - Thanks for this API. It's working well for me. I've refactored my code and it's quite a bit more efficient than before.
Particularly South Korea heavily impacts the usefullness of the dataset.
List of ISO Codes : https://www.nationsonline.org/oneworld/country_code_list.htm
Hello, I'm doing real-time license plate detection with flask. But I can't send the detected license plate simultaneously. When the page is refreshed, the last read plate information is displayed to the fields. How can I do this without crawling the page?
http://coronavirus-data.info/#/chart.
built a website using the data, was manually pulling from John Hopkins (also used data from somewhere else).
SyntaxError: JSON.parse: unexpected character at line 1 column 173620 of the JSON data
...
Parse error on line 1:
.../16/20":0,"3/17/20":NaN,"3/2/20":0,"3/3/
-----------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'
empty cells in the csv?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.