Healthsites API Version 3
To access the api, you need api-key for it.
facilities
list
Returns a list of facilities with some filtering parameters.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
api-key required | API KEY for accessing healthsites api. |
page required | A page number within the paginated result set. |
country | Filter by country |
extent | Extent of map that is used for filtering data. (format: minLng, minLat, maxLng, maxLat) |
from | Get latest modified data from this timestamp. |
to | Get latest modified data from this timestamp. |
flat-properties | Put true to show properties in flat |
tag-format | Tag format that want to be used. (osm/hxl. default : osm) |
output | Output format for the request. (json/xml/geojson, default: json) |
statistic
Get facility statistic information.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
api-key required | API KEY for accessing healthsites api. |
country | Filter by country |
extent | Extent of map that is used for filtering data. (format: minLng, minLat, maxLng, maxLat) |
from | Get latest modified data from this timestamp. |
to | Get latest modified data from this timestamp. |
flat-properties | Put true to show properties in flat |
tag-format | Tag format that want to be used. (osm/hxl. default : osm) |
output | Output format for the request. (json/xml/geojson, default: json) |
read
Returns a facility detail.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
osm_type required | |
osm_id required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
api-key required | API KEY for accessing healthsites api. |
update
Update a facility.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
osm_type required | |
osm_id required |
shapefile
download
Download shapefile.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
country required |
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
api-key required | API KEY for accessing healthsites api. |
user
read
Return logged in user detail.
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
api-key required | API KEY for accessing healthsites api. |