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.
departure_board.h
- Committer:
- Leigh_LbR
- Date:
- 2016-04-21
- Revision:
- 0:bf04f62339a4
- Child:
- 4:7e8a23454d85
File content as of revision 0:bf04f62339a4:
#ifndef DEPARTURE_BOARD_H #define DEPARTURE_BOARD_H #include "departure.h" #include <string> class Departure_Board { public: Departure* departures; int num_departures; std::string* messages; int num_messages; Departure_Board(Departure* _departures); Departure_Board(); ~Departure_Board(); }; Departure_Board depBoardFromJson(const std::string& jsonObject); #endif