mtu-dining

🌮 🌭 A scrapper for MTU's dinning halls.

Usage no npm install needed!

<script type="module">
  import mtuDining from 'https://cdn.skypack.dev/mtu-dining';
</script>

README

🌭 MTU-Dining 🌮 Build Status

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), where hall is (new MTUDining()).MCNAIR || (new MTUDining()).WADS.
  • get(date), where date is {month: _month_, day: _day_}.

Enjoy your food.