![]() |
Reading Buses API V3.0.0
A C#, .net Standard Library for the Reading Buses Open Data API (https://reading-opendata.r2p.com/), available to use in your C# console, WPF, UWP or Win Form Applications.
|
CReadingBusesAPI.BusServices.BusService | Stores information about an individual bus services. Related to the "List Of Lines" API. |
CReadingBusesAPI.BusStops.BusStop | Stores information about a single bus stop. Related to the "List Of Bus Stops" API. |
CReadingBusesAPI.BusStops.BusStopIntermediary | Stores information about a single bus stop and single service. Related to the raw output of the "List Of Bus Stops" API. This API returns the same stop multiple times with each service that visites it treated as a new stop? |
CReadingBusesAPI.Common.CacheWriter | Used to write a cache files to the disk. |
CReadingBusesAPI.ErrorManagement.ErrorFormat | Represents an error message object returned by all JSON feeds of the API. |
CReadingBusesAPI.ErrorManagement.ErrorManager | Responsible for extracting and producing an error message from an API result. To the end user. |
▼CException | |
▼CReadingBusesAPI.ErrorManagement.ReadingBusesApiException | Stores the basic/base type of Exception which can be thrown by the API. |
CReadingBusesAPI.ErrorManagement.ReadingBusesApiExceptionBadQuery | An exception type which is used when the API returns back an error message. Most likely due to an invalid request such as asking for data that does not exist. |
CReadingBusesAPI.ErrorManagement.ReadingBusesApiExceptionCritical | An exception type which is thrown when the cause of the error is unknown. |
CReadingBusesAPI.ErrorManagement.ReadingBusesApiExceptionMalformedQuery | An exception type which is used when the user asks to make a invalid API call This is would be thrown during checks done before even directly calling upon the web API. For example if you have not filtered by at least one property when required too. |
CReadingBusesAPI.VehiclePositions.GpsController | Helps get live and historical GPS data on vehicles by accessing the "Live Vehicle Positions" API. |
▼CIEquatable | |
CReadingBusesAPI.Common.Point | Stores an X and Y Position simply. |
▼CReadingBusesAPI.TimeTable.Journey | Represents a journey, which is a grouping of Visit objects, or a specific service doing one single direction of the route. A timetable for a service is made up of multiple journeys. |
CReadingBusesAPI.TimeTable.HistoricJourney | A historical journey, one that has happened in the past. |
▼CJsonConverter | |
CReadingBusesAPI.Common.DateTimeOffsetConverter | Converts a datetime value between its JSON representation and the object. |
CReadingBusesAPI.Common.ParseBoolConverter | Converts a datetime value between its JSON representation and the object. |
CReadingBusesAPI.Common.ParseOperatorConverter | Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. |
CReadingBusesAPI.Common.ParseOperatorTimetableConverter | Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. |
CReadingBusesAPI.Common.ParseServiceObjects | Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. |
CReadingBusesAPI.Common.ParseStringConverter | Converts a string into a long and back again for the JSON converter. |
CReadingBusesAPI.JourneyDetails.LiveJourneyDetailsApi | Contains the logic to call upon the Live Journey Details API. |
CReadingBusesAPI.JourneyDetails.LiveRecord | Used to store information about a buses arrival at a bus stop. Mainly related to the "Stop Predictions" API. |
CReadingBusesAPI.BusStops.Locations | This classes simply gets all the buses stops visited by Reading Buses, by interfacing with the "List Of Bus Stops" API. |
CReadingBusesAPI.ReadingBuses | This is the main class for the library, here you can initialise a singleton instance and then query and use the Reading Buses API. |
CReadingBusesAPI.TimeTable.ScheduledJourneysApi | Contains the logic to call upon the Scheduled Journeys API. |
CReadingBusesAPI.BusServices.Services | This classes simply gets all the bus services operated by Reading Buses, by interfacing with the "List Of Services" API. |
CReadingBusesAPI.BusStops.StopPattern | An intermediary class used for the "Line Pattern" API, to get the route of a service. |
CReadingBusesAPI.TimeTable.TrackingHistoryApi | Contains the logic to call upon the Tracking History API. |
CReadingBusesAPI.Common.UrlConstructor | Returns back the URL needed to make a get command to the Reading Buses Open Data API. You can use this for testing purposes to check the API is returning what you were expecting. |
▼CReadingBusesAPI.VehiclePositions.VehiclePosition | Stores information about historical GPS data on a vehicle. |
CReadingBusesAPI.VehiclePositions.LiveVehiclePosition | A live GPS vehicle position record. |
▼CReadingBusesAPI.TimeTable.Visit | Represents a single instance of a bus visiting at a specific bus stop. |
CReadingBusesAPI.TimeTable.HistoricVisit | Represents a single instance of a bus visiting at a specific bus stop in the past. |