Get a list of stops nearest a given latitude/longitude.
https://developer.mtd.org/api/{version}/{format}/getstopsbylatlon
This method defaults to the 20 nearest stops, but you can expand it to as many as you need.
key |
(required) your API key |
lat |
(required) latitude |
lon |
(required) longitude |
count |
(optional) number of stops to return |
changeset_id |
(optional) see interpretting responses for more information |
code |
text message code |
distance |
distance from the stop in feet |
stop_point |
stop points that compose a parent stop |
stop_id |
id of stop |
stop_lat |
latitude of stop |
stop_lon |
longitude of stop |
stop_name |
name of stop |