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.
More...
|
static string | ListOfBusStops () |
| Returns back the URL needed for a get request to the 'List of Bus Stops' API. More...
|
|
static string | LiveVehiclePositions () |
| Returns back the URL needed for a get request to the 'Live Vehicle Positions' API. More...
|
|
static string | LiveJourneyDetails (BusService service, string vehicle) |
| Returns back the URL needed for a get request to the 'Live Journey Details' API. More...
|
|
static string | StopPredictions (string actoCode) |
| Returns back the URL needed for a get request to the 'Stop Predictions' API. More...
|
|
static string | ListOfServices () |
| Returns back the URL needed for a get request to the 'List of Services' API. More...
|
|
static string | LinePatterns (BusService service) |
| Returns back the URL needed for a get request to the 'Line Patterns' API. More...
|
|
static string | TimetabledJourneys (BusService service, BusStop location, DateTime date) |
| Returns back the URL needed for a get request to the 'Time Tabled Journeys' API. More...
|
|
static string | TrackingHistory (BusService service, BusStop location, DateTime date, string vehicle) |
| Returns back the URL needed for a get request to the 'Tracking History' API. More...
|
|
static string | VehiclePositionHistory (DateTime dateStartTime, TimeSpan? timeSpan, string vehicle) |
| Returns back the URL needed for a get request to the 'Vehicle Position History' API. More...
|
|
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.
◆ LinePatterns()
static string ReadingBusesAPI.Common.UrlConstructor.LinePatterns |
( |
BusService |
service | ) |
|
|
static |
Returns back the URL needed for a get request to the 'Line Patterns' API.
- Parameters
-
service | The bus service to query for. |
- Returns
- Returns back the URL needed for a get request to the 'Line Patterns' API.
◆ ListOfBusStops()
static string ReadingBusesAPI.Common.UrlConstructor.ListOfBusStops |
( |
| ) |
|
|
static |
Returns back the URL needed for a get request to the 'List of Bus Stops' API.
- Returns
- Returns back the URL needed for a get request to the 'List of Bus Stops' API.
◆ ListOfServices()
static string ReadingBusesAPI.Common.UrlConstructor.ListOfServices |
( |
| ) |
|
|
static |
Returns back the URL needed for a get request to the 'List of Services' API.
- Returns
- Returns back the URL needed for a get request to the 'List of Services' API.
◆ LiveJourneyDetails()
static string ReadingBusesAPI.Common.UrlConstructor.LiveJourneyDetails |
( |
BusService |
service, |
|
|
string |
vehicle |
|
) |
| |
|
static |
Returns back the URL needed for a get request to the 'Live Journey Details' API.
- Parameters
-
service | The bus service |
vehicle | The vehicle ID |
- Returns
- Returns back the URL needed for a get request to the 'Live Journey Details' API.
◆ LiveVehiclePositions()
static string ReadingBusesAPI.Common.UrlConstructor.LiveVehiclePositions |
( |
| ) |
|
|
static |
Returns back the URL needed for a get request to the 'Live Vehicle Positions' API.
- Returns
- Returns back the URL needed for a get request to the 'Live Vehicle Positions' API.
◆ StopPredictions()
static string ReadingBusesAPI.Common.UrlConstructor.StopPredictions |
( |
string |
actoCode | ) |
|
|
static |
Returns back the URL needed for a get request to the 'Stop Predictions' API.
- Parameters
-
actoCode | The bus stop ID code. |
- Returns
- Returns back the URL needed for a get request to the 'Stop Predictions' API.
◆ TimetabledJourneys()
static string ReadingBusesAPI.Common.UrlConstructor.TimetabledJourneys |
( |
BusService |
service, |
|
|
BusStop |
location, |
|
|
DateTime |
date |
|
) |
| |
|
static |
Returns back the URL needed for a get request to the 'Time Tabled Journeys' API.
- Parameters
-
service | The bus service to query for. |
location | The bus stop to query for. |
date | The date you want to query at. |
- Returns
- Returns back the URL needed for a get request to the 'Time Tabled Journeys' API.
◆ TrackingHistory()
static string ReadingBusesAPI.Common.UrlConstructor.TrackingHistory |
( |
BusService |
service, |
|
|
BusStop |
location, |
|
|
DateTime |
date, |
|
|
string |
vehicle |
|
) |
| |
|
static |
Returns back the URL needed for a get request to the 'Tracking History' API.
- Parameters
-
service | The bus service to query for. |
location | The bus stop to query for. |
date | The date you want to query at. |
vehicle | A vehicle ID to query for. |
- Returns
- Returns back the URL needed for a get request to the 'Tracking History' API.
◆ VehiclePositionHistory()
static string ReadingBusesAPI.Common.UrlConstructor.VehiclePositionHistory |
( |
DateTime |
dateStartTime, |
|
|
TimeSpan? |
timeSpan, |
|
|
string |
vehicle |
|
) |
| |
|
static |
Returns back the URL needed for a get request to the 'Vehicle Position History' API.
- Parameters
-
dateStartTime | The date and time you want to query for. |
timeSpan | The length of the time period to query for. |
vehicle | A vehicle ID to query for. |
- Returns
- Returns back the URL needed for a get request to the 'Vehicle Position History' API.
The documentation for this class was generated from the following file: