All of the data for Bongo is copyrighted by the University of Iowa, the City of Iowa City and/or the City of Coralville and is not permitted to be used in a commercial application.
/routes
None
Array of routes with the following data:
Name | Type | Description |
---|---|---|
id |
Number | Unique identifier for the route |
name |
String | Human readable name for the route |
shortname |
String | Short name for route, used for URLs |
color |
String | Hex code for the color for the route |
agency |
String | Agency short name, used for URLs |
agencyname |
String | Human readable name for the agency |
/routes/{routeid}
Name | Type | Description |
---|---|---|
routeid |
Number | Unique identifier for the route |
Route object with the following data:
Name | Type | Description |
---|---|---|
id |
Number | Unique identifier for the route |
name |
String | Human readable name for the route |
shortname |
String | Short name for route, used for URLs |
color |
String | Hex code for the color for the route |
agency |
String | Agency short name, used for URLs |
agencyname |
String | Human readable name for the agency |
stops |
Array | Collection of all stops for the route. Each stop has an id , name , lat and lon value |
maxlat |
Number | Maximum latitude for the route |
minlat |
Number | Minimum latitude for the route |
maxlon |
Number | Maximum longitude for the route |
minlat |
Number | Minimum longitude for the route |
paths |
Array | Collection of all paths for the route. Each path has a array of points which have a lat and lon value |
/stops
None
Array of stops with the following data:
Name | Type | Description |
---|---|---|
id |
Number | Unique identifier for the stop |
name |
String | Human readable name for the stop |
lat |
Number | Latitude for the stop |
lon |
Number | Longitude for the stop |
/stops/{stopid}
Name | Type | Description |
---|---|---|
stopid |
Number | Unique identifier for the stop |
Stop object with the following data:
Name | Type | Description |
---|---|---|
id |
Number | Unique identifier for the stop |
name |
String | Human readable name for the stop |
lat |
Number | Latitude for the stop |
lon |
Number | Longitude for the stop |
messages |
Array | Collection of all messages for routes that service this stop. Each message has an id , name , text , start and end value |
/buses/{routeid}
Name | Type | Description |
---|---|---|
routeid |
Number | Unique identifier for the route |
Array of buses with the following data:
Name | Type | Description |
---|---|---|
id |
Number | Unique identifier for the bus |
lat |
Number | Latitude for the stop |
lon |
Number | Longitude for the stop |
heading |
Number | Bus heading in degrees |
/predictions/{stopid}
Name | Type | Description |
---|---|---|
stopid |
Number | Unique identifier for the stop |
Array of predictions with the following data:
Name | Type | Description |
---|---|---|
routeid |
Number | Unique identifier for the route |
name |
String | Human readable name for the route |
shortname |
String | Short name for route, used for URLs |
busid |
Number | Unique identifier for the bus |
busnumber |
String | Bus label on the back of the bus |
seconds |
Number | Prediction in seconds until arrival |
minutes |
Number | Prediction in minutes until arrival, rounded up from seconds |
agency |
String | Agency short name, used for URLs |
agencyname |
String | Human readable name for the agency |