What is this?
The collection of data offered here allows developers to create new and innovative applications for the web or mobile devices.
Outlined below is a list of all the methods available.
CheckForKnownPlace
| Element | Type | Description |
| placeName |
string |
The name of the place (e.g. Blacksburg Transit) to be checked. |
GetActiveAlerts
| Element | Type | Description |
| alertTypes |
string |
Gets the types of active alerts. |
| alertCauses |
string |
Shows the causes of active alerts. |
| alertEffects |
string |
Shows the effects of active alerts. |
GetAlertCauses
| Element | Type | Description |
| alertCausesID |
integer |
Specifies ID of alert cause. |
| alertCauseName |
string |
Specifies the name of the alert cause. |
GetAlertEffects
| Element | Type | Description |
| alertEffectsID |
integer |
Specifies ID of alert effect. |
| alertEffectName |
string |
Specifies name of alert effect. |
GetAlertTypes
| Element | Type | Description |
| alertTypesID |
integer |
Specifies the ID of the alert type. |
| alertTypeName |
string |
Name of the alert type. |
GetAllAlerts
| Element | Type | Description |
| alertID |
integer |
The ID of the alert. |
| alertTypesID |
integer |
Specifies the ID of the alert type. |
| alertCausesID |
integer |
Specifies the cause ID of the alert. |
| alertEffectsID |
integer |
The ID of the alert effect. |
| alertTitle |
string |
The title of the alert. |
| alertMessage |
string |
The message that the alert sends. |
| URL |
string |
Specifies the URL to view the alert. |
| startDate |
string |
Start date of alerts (Eastern Standard Time). |
| endDate |
string |
End date of alerts (Eastern Standard Time). |
| version |
dateTime |
Date-time of the latest update. |
| alertRank |
integer |
Degree of alert urgency. |
GetAllPlaces
| Element | Type | Description |
| placeID |
integer |
Specifies the ID of the place. |
| placeTypesID |
integer |
Specifies the ID of the place type. |
| latitude |
decimal |
Latitude |
| longitude |
decimal |
Longitude |
| placeName |
string |
Specifies the name of the place. |
| display |
boolean |
Specifies if these places are displayed. |
| version |
dateTime |
Date-time of the latest update. |
GetArrivalAndDepartureTimesForRoutes
| Element | Type | Description |
| routeShortNames |
string |
The short name of the route (e.g. HWA for Hethwood A). |
| noOfTrips |
string |
Shows the number of trips for specified route. |
| serviceDate |
string |
Date of arrival and departure route times (Eastern Standard Time). |
GetArrivalAndDepartureTimesForTrip
| Element | Type | Description |
| tripID |
string |
Specfies the ID of the trip to view arrival and departure. |
GetCurrentBusInfo
| Element | Type | Description |
| agencyVehicleName |
string |
Specifies the number assigned to a particular vehichle (e.g. 6403). |
| latestEvent |
string |
The date-time of the latest event for the specified vehicle. |
| latitude |
decimal |
Latitude |
| longitude |
decimal |
Longitude |
| direction |
integer |
Specifies the degree that the vehicle is facing at the latestEvent time. |
| speed |
string |
Specifies the speed of the vehicle at the latestEvent time in MPH. |
GetCurrentRoute
| Element | Type | Description |
| routeName |
string |
Specifies the full name of the route. |
| routeShortName |
string |
Specifies the short name of the route (e.g. Hethwood A -> HWA). |
| routeColor |
string |
The color assigned to a specific route. |
| routeTextColor |
string |
The text color of the route (currently set to 000000 for all routes). |
GetNearestStops
| Element | Type | Description |
| latitude |
decimal |
Specify Latitude |
| longitude |
decimal |
Specify Longitude |
| noOfStops |
string |
Specify the number of closest stops to be shown. |
| serviceDate |
string |
Specify stop availability by a given service date (Only enter a date between current and next text days). |
GetNextDepartures
| Element | Type | Description |
| routeShortName |
string |
Specify the short name of the route (HWA for Hethwood A). |
| stopCode |
string |
Specify the stop code to see next departures. |
GetPatternPointsForPatternID
| Element | Type | Description |
| patternID |
string |
Specify the ID OR the NAME of the Pattern. |
| serviceDate |
string |
Date of service for pattern (Date Format: YYYY-MM-DD). |
GetPlaceTypes
| Element | Type | Description |
| placeTypesID |
string |
ID number of the place type from 1 to 5. |
| placeTypeName |
string |
Name of the corresponding place type. |
| version |
dateTime |
Date-time of the latest update. |
GetPlaces
| Element | Type | Description |
| placeTypes |
string |
Filter places by the type (e.g. Supermarket). Refer to GetPlaceTypes for corresponding placetype IDs. |
GetScheduledPatternPoints
| Element | Type | Description |
| patternName |
string |
Pattern name is the full name of the bus route (Some pattern names to be acquired from Streets). |
GetScheduleRoutes
| Element | Type | Description |
| stopCode |
string |
Used to see which routes are scheduled for a particular stop. |
| serviceDate |
string |
Specify routes by a given service date (Only enter a date between current and next text days) |
GetScheduledStopCodes
| Element | Type | Description |
| routeShortName |
string |
Short name of the route to view specific scheduled stop codes. |
GetScheduledStopInfo
| Element | Type | Description |
| routeShortName |
string |
Short name of the route to view all stop information (Name, Code, and Location). |
| serviceDate |
string |
Specify the service date of scheduled stop info. |
GetScheduledStopNames
| Element | Type | Description |
| routeShortName |
string |
Specify the short of the route to see scheduled stop names only (e.g. HWA for Hethwood A) |