mtu-dining
v1.3.1
Published
๐ฎ ๐ญ A scrapper for MTU's dinning halls.
Downloads
6
Readme
๐ญ MTU-Dining ๐ฎ
A package to scrape all those tasty meals (๐) from Michigan Tech's published meal schedule for the dining halls.
Usage
const MTUDining = require('mtu-dining');
const McNair = new MTUDining();
(async() => {
await McNair.load(McNair.MCNAIR);
console.log(McNair.get({month: 7, day: 27}))
})();
Documentation
Dead simple, just like the meals. Two functions:
load(hall)
, wherehall
is(new MTUDining()).MCNAIR || (new MTUDining()).WADS
.get(date)
, wheredate
is{month: _month_, day: _day_}
.
Enjoy your food.