The app is available from the AppStore.
The telegram bot is available here.
The api is hosted at themachine.jeremystucki.com.
GET /coop/api/v2/locations
latitude and longitude | query | limit | description |
---|---|---|---|
- | - | - | Get all locations |
X | - | optional | Get all locations, sorted by distance |
- | X | optional | Get all locations, sorted by relevance |
{
"results": [
{
"id": 2257,
"name": "Kriens Schappe Bistro",
"location": {
"coordinates": [
<long>,
<lat>
],
"address": {
"city": "Kriens",
"house_number": "2",
"street": "Hobacherweg",
"zip": 6010
}
}
}, ...
]
}
GET /coop/api/v2/locations/<id>
{
"id": 2524,
"name": "Baden",
"location": {
"coordinates": [
<long>,
<lat>
],
"address": {
"city": "Baden",
"house_number": "28",
"street": "Bahnhofstrasse",
"zip": 5401
}
}
}
GET /coop/api/v2/locations/<id>/menus
GET /coop/api/v2/locations/<id>/menus/today
GET /coop/api/v2/locations/<id>/menus/<timestamp>
// Midnight GMT
{
"results": [
{
"menu": [
"Spare-Ribs",
"BBQ-Sauce",
"Baked Potatoes",
"Maiskolben"
],
"price": 13.95,
"timestamp": 1493078400.0,
"title": "Wochenmen\u00fc"
}, ...
]
}