Skip to content
Common Lisp interface to Network Rail data feeds
Common Lisp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
src
tests
.gitignore
README.markdown
README.org
lisp-o-motive-test.asd
lisp-o-motive.asd

README.markdown

lisp-o-motive

A locomotive

A library for accessing the British Network Rail data feeds.

Find out about them here: Open Rail Data

This is a work in progress. At the moment the Train Describer and Train Movements feeds are supported.

Usage

  1. (ql:quickload :lisp-o-motive)

  2. Ensure you have a Network Rail data feeds account, you can sign up here.

  3. Add your data feeds account credentials:

(setf lisp-o-motive:*username* "selwyn@example.com" lisp-o-motive:*passcode* "xxx")

You can avoid the hassle of doing this every time by storing your username and passcode in <project-root>/config:

selwyn@example.com
xxx

and lisp-o-motive will read the credentials upon being loaded.

  1. Establish a connection using (lisp-o-motive:setup-connection).

Installation

Clone to ~/quicklisp/local-projects.

There is an issue with the version of cl-stomp in Quicklisp at the time of writing that can prevent connections from being established; you may like to install a recent version of cl-stomp to ~/quicklisp/local-projects.

Author

Copyright

Cover picture:
By DiverScout at English Wikipedia, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=6802712
Copyright (c) 2019 Selwyn Simsek (sgs16@ic.ac.uk)

You can’t perform that action at this time.