The EILAPI let you post data to the eventsinluxembourg database. It's a RESTful Web Service API, based ont the REST API in Drupal 8, that apps and websites can use to programmatically submit events and venues.
- The data must be submitted in JSON format.
- To submit events or venues you need to include an API key accessible in your MyEvents account on the API page.
How to submit an Event or Venue to the EILAPI?
To post the data to the API the following URL has to be called using a HTTP library, such as cURL and urllib.
This is the schema which has to be used:
https://eventsinluxembourg.lu/node?_format=[json OR xml]&api-key=[API key]
You need to include an X-CSRF-Token in the header avaible at https://eventsinluxembourg.lu/fr/session/token