Menu

Tree [9b086b] master /
 History

HTTPS access


File Date Author Commit
 releases 2014-02-26 Stephen Smith Stephen Smith [233ca1] Added release tarball version 0.9
 .gitignore 2014-02-27 Stephen Smith Stephen Smith [19a974] Made git ignore tarballs again, and the release...
 COPYING 2014-02-26 Stephen Smith Stephen Smith [4839d6] Renamed licence to COPYING - follows GNU conven...
 INSTALL 2014-02-26 Stephen Smith Stephen Smith [73d4a7] Created installation instructions file, and REA...
 README 2014-02-26 Stephen Smith Stephen Smith [73d4a7] Created installation instructions file, and REA...
 farefetch 2014-05-15 Stephen Smith Stephen Smith [ffcf1f] Changed versioning information.
 fares.py 2014-06-04 Stephen Smith Stephen Smith [9b086b] Changed host name to reflect undocumented API c...
 jsonfetch.py 2014-05-15 Stephen Smith Stephen Smith [ffcf1f] Changed versioning information.
 makerelease.sh 2014-02-27 Stephen Smith Stephen Smith [19a974] Made git ignore tarballs again, and the release...
 pushrelease.sh 2014-02-27 Stephen Smith Stephen Smith [7a0362] Added script to push releases to SourceForge.

Read Me

README for farefetch 0.9

farefetch fetches fare information from the website brfares.com
(<http://www.brfares.com/>) - this data is copyright to Rail
Settlement Plan, Ltd., and released under a CC-BY 2.0 Licence
(<http://data.atoc.org/licence-restrictions/>).

Use is simple - execute the file farefetch giving it arguments as
follows:

./farefetch ORIGIN DESTINATION [ -r RAILCARD ]

This will search for fares between the stations ORIGIN and
DESTINATION, possibly applying discounts applicable to the railcard
RAILCARD. If any of the three arguments is ambiguous, the program will
say so, and give a list of possibilities with unambiguous equivalents.
It should then be re-run with the appropriate possibility.

If you want (slightly) more information, run with the -e (expert)
switch.

It is possible to filter the returned list of tickets:

use -c [1ST|STD] to select first (1ST) or standard (STD) class

use -t TYPE [TYPE ...] where TYPE is any of SINGLE, RETURN, or SEASON,
to select only that type of ticket

To contact the author, please send mail to
<stephen.smith3141@gmail.com>.
MongoDB Logo MongoDB