A simple daily menu scraper written using Spring Boot and Groovy. Works for the central Brno area.
See the Jenkinsfile:
- check it out
git clone ....
- build it using gradle
./gradlew build
- run it using java
java -jar build/libs/lunchbox-x.x.x-SNAPSHOT.jar
See file application.properties
You will need:
- a hipchat room id
- hipchat room secret token
- zomato access token
You can also implement your own consumer e.g. for Slack or twitter. See the MessageConsumer interface.
- Go to Zomato.com and find your restaurant
- Open browser developer tools and inspect the Rating box
- The actual restaurant ID is used in identifiers and data fields in HTML