cornell-dining

0.2.3 • Public • Published

iroh Build Status Codacy Badge

Dining module for RedAPIroh. Can be used to fetch information about Cornell dining calendars on any node.js script.

Installation

npm install http://github.com/mrkev/iroh

Usage

var iroh = require('iroh');

iroh.get_menus(iroh.ALL_MEALS, iroh.ALL_LOCATIONS, iroh.DIM_LOCATIONS)
    .then(function(json){
        console.log(json);
    });

iroh.get_events(iroh.ALL_LOCATIONS, iroh.DATE_RANGE('today', 'tomorrow'))
    .then(function(json){
        console.log(json);
    });

TODO

  • Merge menu_brb to menu data.
  • Move cache management to Cache class. Dropped cache support. This is just the fetcher, cache is application-specific
  • Write /data/menu.coffee
  • Move some of calendar_hall functions to /lib

TODO:

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.3
    1
  • 0.2.2
    0
  • 0.2.1
    0

Package Sidebar

Install

npm i cornell-dining

Weekly Downloads

1

Version

0.2.3

License

MIT

Last publish

Collaborators

  • mrkev