|
|
The backend of Karte von Morgen (KVM) is described [here](https://github.com/kartevonmorgen/openfairdb). It provides an API for accessing items of KVM.
|
|
|
|
|
|
In the API the unix timestamp is used, you can convert it with: https://www.unixtime.de
|
|
|
I'm not sure if the timezone is correct !! Maybe there is a bug.
|
|
|
|
|
|
Find Events:
|
|
|
https://kartevonmorgen.org/api/v0/events?bbox=49.8,-1.0,52.5,20.0&start_min=1578182400
|
|
|
|
|
|
I created Events with the api:
|
|
|
* Therefore you have to get the bearer token using http://mobile.kartevonmorgen.org
|
|
|
|
|
|
`{
|
|
|
"title": "verpackungsfreier Markttreff",
|
|
|
"description": "Truderinger verpackungsfreier Markttreff – 'Tante Trude'",
|
|
|
"start": 1580223600,
|
|
|
"end": 1580234400,
|
|
|
"created_by": "naturzukunft@hauschel.de",
|
|
|
"street": "Truderinger Straße 302",
|
|
|
"zip": "81825",
|
|
|
"city": "München",
|
|
|
"country": "Germany",
|
|
|
"email": "info@truderingimwandel.de",
|
|
|
"telephone": "08945240746",
|
|
|
"tags": [
|
|
|
"organic",
|
|
|
"non-profit",
|
|
|
"unverpackt",
|
|
|
"bioladen",
|
|
|
"regional"
|
|
|
],
|
|
|
"homepage": "http://www.truderingimwandel.de",
|
|
|
"image_url": "http://www.truderingimwandel.de/wp-content/uploads/2016/02/logo-e1454449251183.jpeg",
|
|
|
"image_link_url": "http://www.truderingimwandel.de/wp-content/uploads/2016/02/logo-e1454449251183.jpeg"
|
|
|
}`
|
|
|
|
|
|
Deleting an Event was also working correctly.
|
|
|
While editinig an event, there is a bug: https://github.com/kartevonmorgen/openfairdb/issues/231 |
|
|
\ No newline at end of file |