Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

MrSaints/GoBeaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoBeaver

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.

Installation

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

Usage / Examples

See generator/generator.go in this repo.

Boring Stuff

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.

Licensing

The MIT License (MIT) / LICENSE

Copyright (C) 2014, Ian Lai.

About

[INACTIVE] A Go package for programmatically working with the London School of Economics and Political Science (LSE) course guide (unofficial API).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages