Map

This endpoint lets you get location data about University of maryland. Right now, it’s just the locations of buses, but there’s tons more data available, and we will gradually add it and document it. If you want to use the data now, now, now, check out http://maps.umd.edu/arcgis/rest/services - that’s the source of all the umd map data. It’s a little confusing - that’s why we want to wrap it!

All map data is copyright University of Maryland 2015.

Map Endpoint

https://api.umd.io/v0/map

This endpoint lets you get location data about University of maryland. Right now, it’s just the locations of buses, but there’s tons more data available, and we will gradually add it and document it. If you want to use the data now, now, now, check out http://maps.umd.edu/arcgis/rest/services - that’s the source of all the umd map data. It’s a little confusing - that’s why we want to wrap it!

All map data is copyright University of Maryland 2015.

Map Endpoint

https://api.umd.io/v0/map

The building object

The building object represents the location of a single building. The properties of a building are:

name – name of the building.

code – Some buildings have codes.

number – unique building number. When you are getting a building, you append its number to the buildings url.

lng – longitude of the building.

lat – latitude of the building.

Sample building object

{
  "name": "251 North",
  "code": "",
  "number": "251",
  "lng": "-76.9496090325357",
  "lat": "38.99274005"
}

The building object represents the location of a single building. The properties of a building are:

name – name of the building.

code – Some buildings have codes.

number – unique building number. When you are getting a building, you append its number to the buildings url.

lng – longitude of the building.

lat – latitude of the building.

Sample building object

{
  "name": "251 North",
  "code": "",
  "number": "251",
  "lng": "-76.9496090325357",
  "lat": "38.99274005"
}

List buildings

Get a list of the available buildings.

Returns: A list of buildings with names and numbers of all the buildings.

List Buildings

https://api.umd.io/v0/map/buildings

Get a list of the available buildings.

Returns: A list of buildings with names and numbers of all the buildings.

List Buildings

https://api.umd.io/v0/map/buildings

Get buildings

Get location data about one or more buildings. Comma separated building numbers are the parameters.

https://api.umd.io/v0/map/buildings/:building_number

Returns: A list of complete building objects.

Get Buildings

GET https://api.umd.io/v0/map/buildings/251

returns

{
  "name": "251 North",
  "code": "",
  "number": "251",
  "lng": "-76.9496090325357",
  "lat": "38.99274005"
}

Get location data about one or more buildings. Comma separated building numbers are the parameters.

https://api.umd.io/v0/map/buildings/:building_number

Returns: A list of complete building objects.

Get Buildings

GET https://api.umd.io/v0/map/buildings/251

returns

{
  "name": "251 North",
  "code": "",
  "number": "251",
  "lng": "-76.9496090325357",
  "lat": "38.99274005"
}