curl -X GET "https://api-v3.mbta.com/alerts?filter%5Bactivity%5D=BOARD%2CEXIT%2CRIDE" -H "accept: application/vnd.api+json"

CUSTOM PYTHON — Address To Lat / Long

{'place_id': 18032036, 
'licence': 'Data © OpenStreetMap contributors, ODbL 1.0. http://osm.org/copyright',
'osm_type': 'relation',
'osm_id': 11195637,
'lat': '42.3541466',
'lon': '-71.06143718117355',
'class': 'building',
'type': 'office',
'place_rank': 30,
'importance': 9.99999999995449e-06,
'addresstype': 'building',
'name': 'Lafayette City Center',
'display_name': 'Lafayette City Center, Chauncy Street, Downtown Crossing, Downtown Boston, Boston, Suffolk County, Massachusetts, 02111, United States',
'boundingbox': ['42.3534847', '42.3548087', '-71.0620029', '-71.0601783']
}

To pick a location, I highly recommend looking at the awesome Open Street Maps.

RESOURCES

--

--

Tim Spann
Cloudera

Principal Developer Advocate, Zilliz. Milvus, Attu, Towhee, GenAI, Big Data, IoT, Deep Learning, Streaming, Machine Learning. https://www.datainmotion.dev/