- unzip
vendor/data.zip
- run
rails db:reset; rails db:migrate; rails db:seed;
http://localhost:3000/api/v1/
http://localhost:3000/api/v1/medical/
-
Diseases (currently COVID-19): http://localhost:3000/api/v1/medical/diseases
-
Cases by total: http://localhost:3000/api/v1/medical/diseases/COVID-19/cases/total
-
Cases by timeline: http://localhost:3000/api/v1/medical/diseases/COVID-19/cases/timeline
-
Filter data by:
-
- Type (heal, sure, dead): http://localhost:3000/api/v1/medical/diseases/COVID-19/cases/timeline?type=heal
- COVID-19 (Auto collect via
Medical::Disease::Case::FetchJob
):
http://localhost:3000/api/v1/geo/
-
Continents: http://localhost:3000/api/v1/geo/continents
-
- Countries by continent: http://localhost:3000/api/v1/geo/continents/AS/countries
-
Countries: http://localhost:3000/api/v1/geo/countries