Dublin Bus API v0.1.11 Stop
Dublin Bus API
Access to the Real Time Passenger Information (RTPI) for Dublin Bus services.
The API are focused on retrieving bus stop and timetables
Disclaimer
This service is in no way affiliated with Dublin Bus or the providers of the RTPI service.
Data are retrieved parsing the still-in-development RTPI site. As with any website scraping the html could change without notice and break the API.
Rtpi.ie html parsing work as 2017-4-10
Test
Parsing function are tested both against fixture and the actual website, this could lead to failing test if an internet connection is missing. It also could find if something has changed in the rtpi.ie website html.
Summary
Types
A struct that represent a row in a bus stop timetable, time could be an absolute (16:13) or relative time (5m)
A struct that represent a single stop, it could contain the timetable
or the lines
that serve the stop
Types
A struct that represent a row in a bus stop timetable, time could be an absolute (16:13) or relative time (5m).
Functions
Return the last time it was checked that the html parsing is still working as a string (yyyy-MM-dd)