All Projects → kdungs → R1D2

kdungs / R1D2

Licence: MIT license
[DEPRECATED] A robot that extracts the CERN restaurant menus for you.

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to R1D2

AliceO2
O2 software project for the ALICE experiment at CERN
Stars: ✭ 67 (+458.33%)
Mutual labels:  cern
root-file-viewer
View ROOT files directly in VS Code!
Stars: ✭ 20 (+66.67%)
Mutual labels:  cern
Quantum-Computing-Collection-Of-Resources
A Well Maintained Repository On Quantum Computing Resources [Code+Theory] Updated Regularly During My Time At IBM, Qubit x Qubit And The Coding School's Introduction To Quantum Computing Course '21
Stars: ✭ 183 (+1425%)
Mutual labels:  cern
pyjet
The interface between FastJet and NumPy
Stars: ✭ 31 (+158.33%)
Mutual labels:  cern
numpythia
The interface between PYTHIA and NumPy
Stars: ✭ 33 (+175%)
Mutual labels:  cern
alidist
Recipes to build ALICE software
Stars: ✭ 23 (+91.67%)
Mutual labels:  cern
lhcb-matplotlibrc
A matplotlibrc that produces plots close to the official LHCb style.
Stars: ✭ 16 (+33.33%)
Mutual labels:  cern
alice-rs
Analyze the public data from the CERN base ALICE collaboration with Rust
Stars: ✭ 81 (+575%)
Mutual labels:  cern
eudaq
EUDAQ Data Acquisition Framework
Stars: ✭ 22 (+83.33%)
Mutual labels:  cern

R1D2 Build Status

DEPRECATED Since the underlying restaurant website changed fundamentally, the code in this repository does no longer work. Fortunately, for people at CERN, there is an API available on the new restaurant website. Have a look at the mattermost restaurants bot that Adrian Monnich made.

This repository is kept only to preserve the history.

A robot that extracts the menus of the CERN restaurants (R1, R2, R3) for you.

API

GET-only API using Flask. There are three types of commands that can be composed to query the menu.

Specify the date

/week
/today
/tomorrow
/monday
/…
/friday

Specify the restaurant

/r1
/r2
/r3

Specify the type of dish

/menu1
/menu2
/menu3
/vegetarian
/speciality
/grill
/pasta
/pizza

There is an example version running on r1d2.herokuapp.com. Test it via curl https://r1d2.herokuapp.com/today/r1/vegetarian.

Please note that due to the super simple way this API is implemented the order of the parameters does not matter but using two mutually exclusive parameters together will result in an empty menu.

The server uses shelve to store the menu on the server and thus reduce the number of times the data needs to be extracted from the Novae website.

Telegram bot

In addition to the simple API, this app also runs a primitive bot for the Telegram mesenger. It's name is @r1d2_bot, click on the link to chat with it.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].