Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript Ruby CoffeeScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
lib
log
public
script
spec
.gitignore
.rspec
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

UTA Mapper

A wrapper around the UTA GTFS feed and SIRI live data API.

To get started with your own instance, the GTFS data zip can be found at http://developer.rideuta.com. You will also need to register for a developer token to access the SIRI feed.

A heroku instance of the API can be found at http://uta-wrapper.herokuapp.com.

A list of apps using UTA data (but not this API... yet) can be found at http://saltlakewiki.org/Local_Apps

The latest version of the Postgres dump is available at https://dl.dropbox.com/u/24209319/uta_wrapper.sql

API spec:

All calls are made to the base URL http://uta-wrapper.herokuapp.com/api/v0

/services

A list of all available service types (TRAX, Bus, Frontrunner, Ski).

/services/:service_id/routes

List all routes available for service type.

/routes

List all routes, independent of service type.

/routes/:route_short_name (include stops and route shape)

List color, name, number, last updated timestamp, vehicles_url, schedules_url, and shape for given route.

/routes/:route_short_name/vehicles

List vehicles (lat, lon, direction, and time of last check-in) for route.

/routes/:route_short_name/schedule

List route schedule information (headsign, direction_id, stops, and arrival times) for route. Defaults to inbound (direction_id = 1). Can be passed optional parameters as URL arguments: day (sunday, monday, etc.) to get schedules for a day of week, and direction_id (0 = outbound, 1 = inbound (default)).

Something went wrong with that request. Please try again.