API for linking to the Huxley National Rail REST proxy for the retrieval of live National Rail data. Still needs work (sadly), but works well for the time being!

Dependencies:   EthernetInterface

National Rail Huxley Integration Interface

This API provides a clear link between the National Rail Huxley Integration JSON interface (available at https://huxley.unop.uk/), and mbed devices, over an Ethernet connection. This project is still very much a work-in-progress, but hopefully I will be able to provide a comprehensive method of retrieving live National Rail departures data in a simple and effective way.


--- a/nr_network.h	Tue Apr 26 13:03:09 2016 +0000
+++ b/nr_network.h	Thu May 05 14:52:33 2016 +0000
@@ -37,7 +37,7 @@
     char* GetIP();
     /** Establish a connection to the API
-    int Connect();
+    int Connect(const char* url);
     /** Disconnect from the API
     void Disconnect();