Skip to content

wo-ist-markt/wo-ist-markt-berlin-update-reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Wo ist Markt? Berlin update reminder

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.

Project description

First, the site checks whether the market data for Berlin is still available. That is, whether daten.berlin.de as well as its GeoJSON endpoint are still available.

Second, the script compares two time stamps with each other. One is extracted from the market data website of the Berlin data portal. The Aktualisiert: date is picked here. The other is parsed from the Berlin market data JSON file which is rendered at the Wo ist Markt? website. The file contains a title property which contains the relevant date.

On Travis CI a CRON job is configured to regularly execute the script. The build job fails if the time stamps differ.

Travis CI is further configured to send Slack messages to the #wo-ist-markt-ci channel.