Blacksburg Transit     

540-443-1500 (M-F 8 a.m. - 5 p.m.)

We're hiring!

 

Stop #1627 near Cabo Fish Taco will be closed until further notice. Alternate stops: #1628 near the post office or #1626 near Blacksburg Books in Clay Court.

Type: Stop

Cause: Construction

Effect: Other

More Info:

Snow Stanger

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

ElementTypeDescription
placeName string The name of the place (e.g. Blacksburg Transit) to be checked.

GetActiveAlerts

ElementTypeDescription
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

ElementTypeDescription
alertCausesID integer Specifies ID of alert cause.
alertCauseName string Specifies the name of the alert cause.

GetAlertEffects

ElementTypeDescription
alertEffectsID integer Specifies ID of alert effect.
alertEffectName string Specifies name of alert effect.

GetAlertTypes

ElementTypeDescription
alertTypesID integer Specifies the ID of the alert type.
alertTypeName string Name of the alert type.

GetAllAlerts

ElementTypeDescription
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

ElementTypeDescription
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

ElementTypeDescription
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

ElementTypeDescription
tripID string Specfies the ID of the trip to view arrival and departure.

GetCurrentBusInfo

ElementTypeDescription
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

ElementTypeDescription
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

ElementTypeDescription
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

ElementTypeDescription
routeShortName string Specify the short name of the route (HWA for Hethwood A).
stopCode string Specify the stop code to see next departures.

GetPatternPointsForPatternID

ElementTypeDescription
patternID string Specify the ID OR the NAME of the Pattern.
serviceDate string Date of service for pattern (Date Format: YYYY-MM-DD).

GetPlaceTypes

ElementTypeDescription
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

ElementTypeDescription
placeTypes string Filter places by the type (e.g. Supermarket).
Refer to GetPlaceTypes for corresponding placetype IDs.

GetScheduledPatternPoints

ElementTypeDescription
patternName string Pattern name is the full name of the bus route (Some pattern names to be acquired from Streets).

GetScheduleRoutes

ElementTypeDescription
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

ElementTypeDescription
routeShortName string Short name of the route to view specific scheduled stop codes.

GetScheduledStopInfo

ElementTypeDescription
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

ElementTypeDescription
routeShortName string Specify the short of the route to see scheduled stop names only (e.g. HWA for Hethwood A)