-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Returns all the locations available.
Example request http://refugeemaps.eu/_api/locations/ returns something like this:
[{
"id": "hamburg",
"name" :"Hamburg",
"position": {
"lat": 53.5510846,
"lng": 9.9936818
}
},
…
]
Returns all the categories, locations and pois for a location / city.
Example request http://refugeemaps.eu/_api/locations/hamburg/ returns something like this:
{
"pois": […],
"categories": […],
"languages": […]
}
See following requests for more information on how these parts look like.
Returns all the categories used for a location / city.
Example request http://refugeemaps.eu/_api/locations/hamburg/categories/ returns something like this:
[{
"Key": "all",
"Translations": [
{
"language": "english",
"text": "All categories"
}, {
"language": "german",
"text": "Alle Kategorien"
}, {
"language": "arabic",
"text": "العربية"
}
]
},
…
]
Returns all the languages used for a location / city.
Example request http://refugeemaps.eu/_api/locations/hamburg/languages/ returns something like this:
[{
"id": "english",
"name": "English",
"isRtl": false
},
…
]
Returns all the hotspots in a location / city. Only working param right now is hamburg
.
Example request http://refugeemaps.eu/_api/locations/hamburg/pois/ returns something like this:
[{
"category": "religion",
"name": "Yeni Camii",
"openingHours": "Opens in the morning and closes in the evening",
"address": "Bei der Schilleroper 1, 22767 Hamburg, Germany",
"position": {
"lat": 53.55813,
"lng": 9.96277
},
"translations": [
{"language": "english", "text": "Mosque inside the Rindermarkthalle, on first floor"},
{"language": "albanian", "text": "Xhamia brenda Rindermarkthalle, në katin e parë"},
{"language": "german", "text": "Moschee in der Rindermarkthalle, im ersten Stock"},
{"language": "persian", "text": "مسجد داخل Rindermarkthalle، در طبقه اول"},
{"language": "arabic", "text": "مسجد داخل Rindermarkthalle، في الطابق الأول"}
]
},
…
]