cornell-dining
Dining calendars for RedAPI
Last updated 5 years ago by mrkev .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cornell-dining 
SYNC missed versions from official npm registry.

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:

Current Tags

  • 0.2.3                                ...           latest (5 years ago)

3 Versions

  • 0.2.3                                ...           5 years ago
  • 0.2.2                                ...           5 years ago
  • 0.2.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |