Skip to content

Releases: jpsingleton/Huxley

5

19 Sep 15:56
Compare
Choose a tag to compare

Huxley now supports a subset of the staff version of the Darwin API, which provides significantly more detail over the basic one.

The client side access token is the same for both APIs and Huxley will choose the correct Darwin access token to use. If you pass through your token then you will need to use the correct one for the API being called.

There are a bunch of extra fields on the staff API, some have been renamed and some have a different type. For example, the times are all now real DateTime objects, which makes them easier to use, rather than simply display (or do complex parsing). Something to keep in mind with the staff service details is that you don't just get calling points. You get all locations, including passed stations and junctions (for example, Borough Market Jn. and North Kent East Jn. - but you won't get a proper location name for these, just a TIPLOC with whitespace trimmed).

There are also some improvements to the service API. Huxley now returns the service ID in multiple forms (original Base64, percent encoded, GUID and URL safe Base64). The service endpoint will accept any of these and it will also attempt to patch up any malformed IDs. Plain Base64 strings don't always play nicely in URLs (particularly if used in the path, rather than as a query string parameter).

Alpha 4

27 Jul 09:57
Compare
Choose a tag to compare
Alpha 4 Pre-release
Pre-release

New features:

  • Two new boards
    • Next train
    • Fastest train
    • Both support comma separated list of filter stations
  • All boards support embedding service details
    • Add expand=true parameter

Alpha 3

18 May 15:45
Compare
Choose a tag to compare
Alpha 3 Pre-release
Pre-release

Refactored version of Huxley #3

Includes London Terminals on the CRS API: /crs/london terminals
Also added some icons (favicon and multiple touch icons).

huxley white

Pre-compiled binaries attached.

Alpha 2

02 May 17:28
Compare
Choose a tag to compare
Alpha 2 Pre-release
Pre-release

A new version with a couple of extra features:

[
  {
    "stationName": "Bletchley",
    "crsCode": "BLY"
  }
]
  • Delays
    • An endpoint that works out if any trains are delayed on a particular route
    • Delayed, Cancelled or more than 5 minutes (configurable) late
    • Supports LON or London as a filter for all London terminals

🚉 :shipit:

Alpha

13 Feb 15:41
Compare
Choose a tag to compare
Alpha Pre-release
Pre-release

Huxley is out of pre-alpha prototype stage and can be used by early adopters as long as they understand the risks.

Notable features:

  • Filtering supported as per the documentation
    • {board}/{crs}/{filtertype}/{filtercrs}/{numrows}
  • All station boards supported
    • all arrivals and departures (default)
    • just arrivals
    • just departures
  • Service supported (including ID as GUID instead of Base64)
  • Serialisation is now correct (no Field suffix)
    • uses the same property names as the SOAP response

Please leave feedback.

Enjoy!