Skip to content

CovidZone API provides data to check if you are in a containment zone or not. The api also provides data of states and district wise zone (Red, Orange, Green) data.

License

Notifications You must be signed in to change notification settings

PraSoonGosWami/CovidZonesAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CovidZone API

CovidZone API provides data to check if you are in a containment zone or not. The api also provides data of states and district wise zone (Red, Orange, Green) data.

API ENDPOINTS

  • https://covid-zones-api.herokuapp.com/zones/:sateCode

    https://covid-zones-api.herokuapp.com/zones/WB returns district wise zone information of state - West Bengal

  • https://covid-zones-api.herokuapp.com/stats/:stateCode

    https://covid-zones-api.herokuapp.com/stats/WB returns state statistics. Total, Active, Recovered, Death cases

  • https://covid-zones-api.herokuapp.com/search/loction body = {query: place name}

    https://covid-zones-api.herokuapp.com/search/loction body = {query: "Park street Kolkata"} returns geocode [lat,lng] for the matched place

  • https://covid-zones-api.herokuapp.com/check/containment/ body = {location : [lat,lng]} returns if the provided coordinates lie in containment zone also return list of containment places within 5Km radius if available

Disclaimer

You cannot use these API end-points in your apps or websites. The API is protected with cors policies and can only be called from the hoisted website https://covidzones.prasoon.me , This repository is only meant to be used for learning or reference purposes. If you want to use these APIs in your own websites or apps contact me at support@prasoon.me

Sources of data

https://api.covid19india.org/ https://geoiq.io/covid19.html

Google maps API

https://cloud.google.com/maps-platform
Geo-coding and reverse geo-coding with google maps API

Author's portfolio

Prasoon Goswami
https://prasoon.me

About

CovidZone API provides data to check if you are in a containment zone or not. The api also provides data of states and district wise zone (Red, Orange, Green) data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published