Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 974 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 974 Bytes

Lunchbox

A simple daily menu scraper written using Spring Boot and Groovy. Works for the central Brno area.

How to run it

See the Jenkinsfile:

  1. check it out
    git clone ....
    
  2. build it using gradle
    ./gradlew build
    
  3. run it using java
    java -jar build/libs/lunchbox-x.x.x-SNAPSHOT.jar
    

How to configure

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.

How to get Zomato restaurant ID

  1. Go to Zomato.com and find your restaurant
  2. Open browser developer tools and inspect the Rating box
  3. The actual restaurant ID is used in identifiers and data fields in HTML