A maintenance script for the Wo ist Markt? project to automatically check if the market data for Berlin is still available and whether it has changed.
The script checks the API behind the data register.
- Checks the HTTP 200 status of all URLs.
- Compares the updated at dates of both the data register and the GeoJSON file at wo-ist-markt.de.
- On Travis CI a CRON job is configured to regularly execute the script. The build job fails if the dates differ or other errors occur.
Travis CI is further configured to send Slack messages to the #wo-ist-markt-ci channel.