brutime-cli

Brunel Calender CLI

Usage no npm install needed!

<script type="module">
  import brutimeCli from 'https://cdn.skypack.dev/brutime-cli';
</script>

README

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