middlebury-catalog
0.0.2 • Public • Published catalog.js
A JavaScript API for the Middlebury course catalog.
![Build Status](https://travis-ci.org/coursereviews/catalog.js.svg?branch=master)
Usage
Scrape from url
var scraper = require('./src/scraper');
scraper('201590').catalogFromUrl()
.then(function (xml) {
console.log(xml);
});
Scrape from file
var scraper = require('./src/scraper');
scraper('201590').catalogFromFile('test/test.xml')
.then(function (xml) {
console.log(xml);
});
Develop
Clone the repository then run
and run the tests with
$ npm test
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.2
2
Version History
- VersionDownloads (Last 7 Days)
- 0.0.2
2
Package Sidebar
Install
Weekly Downloads