kshvmdn / uoft-coursefinder

A Node.js library for interfacing with Course Finder.
MIT License
0 stars 0 forks source link

coursefinder npm version Build Status

A Node.js library for interfacing with Course Finder.

Install

Either install via npm or via source.

Usage

API

const coursefinder = require('coursefinder')
search(term, cb)
inquiry(code, cb)

CLI

  $ coursefinder --help
  Usage:
    coursefinder <method> <argument> [--pretty] [--show]

  Arguments:
    method         coursefinder method to call (one of search / inquiry) [must be first]
    argument       term / code to use with function [must be second]
    -h, --help     view this help dialog
    -p, --pretty   pretty print the JSON response
    -s, --show     render a browser window and watch the scraping in action

  Examples:
    coursefinder search csc
    coursefinder search CSC207 --pretty
    coursefinder inquiry CSC207H1F20169 --show --pretty

Contribute

This project is completely open source. Feel free to open an issue or submit a pull request. :smile:

License

MIT © Kashav Madan.