Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

brutime-cli

1.0.0 • Public • Published

brutime-cli

Brunel Timetable CLI.

Install

$ npm install --global brutime-cli

Usage

Usage: LOGIN=student-id PASSWORD=student-password brutime [OPTIONS] COMMAND [arg...]
       brutime [ --help | -v | --version ]

A command line client for Brunel's Timetabling system.

Commands:

  scrape                            Scrape and print timetable info
  version                           Print version

Options:

  -v, --version                      Print version information and quit
  -f, --format=table                 Reporter format
      --period=1-52                  University weeks to scrape
      --days=1-7                     Days of the week to scrape

Formats:

  table (default)                    Print a table similar to the output on https://teaching.brunel.ac.uk/SWS-1516
  json                               Print a JSON representation

Examples:

  Print your timetable in a table similar to timetabling website:
  $ brutime scrape

  Generate a JSON output:
  $ brutime scrape -f json

Related

License

ISC © Ben Evans

install

npm i brutime-cli

Downloadsweekly downloads

7

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar