A Go package for programmatically working with the London School of Economics and Political Science (LSE) course guide (unofficial API).
The GoBeaver library uses GoQuery to extract and synthesise (web scraping) data from the LSE course guide documents. The data are then stored in a Go struct (for each individual course) and a slice (for a collection of courses) which can be programmatically accessed and manipulated.
For example, generator/generator.go in this repository idiomatically dumps all the course information that are stored in a slice and struct via Go's JSON serialization library.
The GoBeaver package is comprised of a library and a runnable binary, generator/generator.go in this repo.
To install the library:
$ go get github.com/MrSaints/gobeaver
(Optional) To install and run the generator:
$ go get github.com/MrSaints/gobeaver/generator
$ go run generator.go
See generator/generator.go in this repo.
The MrSaints/GoBeaver project is NEITHER AFFILIATED WITH NOR ENDORSED BY the LSE university and/or its student union (LSE SU).
It is a personal project which exposes a rudimentary API for accessing and manipulating publicly available course information. No personal credentials are collected and/or stored.
Please use this project at your own discretion.
The MIT License (MIT) / LICENSE
Copyright (C) 2014, Ian Lai.