Google Maps fetching transit information based on Stop ID

你说的曾经没有我的故事 提交于 2019-12-11 15:28:03

问题


I have got names and Stop IDs of several of TTC stops (Toronto). Based on the Stop ID, I want to get additional information on the stop.

E.g. Based on the attached picture, if I input the Stop ID 2123, I want the information of mode of transport (Light Rail) and the route (505).

I have tried a lot, but am not able to find the right API in Google Maps and Google Transit to fetch the data. Can someone please point me to the right direction? I can't do it manually through Google Maps web interface, as there are 5000+ Stop Ids.

Look forward to some guidance. TIA


回答1:


There is no public facing endpoint to get this information via Google Maps API at the moment. I've seen a feature request in the Google issue tracker to make this information available (5 stars currently):

https://issuetracker.google.com/issues/35827961

Feel free to star the feature request to add your vote.



来源:https://stackoverflow.com/questions/47736882/google-maps-fetching-transit-information-based-on-stop-id

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!