纽约mta地铁/公共汽车/火车等有api吗? [英] is there an api for the new york mta subway/bus/train etc?

查看:176
本文介绍了纽约mta地铁/公共汽车/火车等有api吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用mta maps做点什么,所以有这样一个API吗?



我想到的另一种方法是去网站并且去掉标签。



是的,我已经检查过谷歌和mta开发网站,但我没有找到我需要的东西。
在mta网站上,我只能看到关于火车的数据,因为火车在那里,他们的停车是什么。我需要一些关于流量延迟或任何中断等数据的信息。 GTFS格式和服务信息的XML提要。 阅读更多。


I want to do something with mta maps, so is there such an API?

The other method I was thinking of is going to the website and stripping out the tags.

Yes I've checked google and mta dev sites but I am not finding what I need. On the mta site, I only see data that are about the trains as in what trains are there, what their stops are. I need something along the lines of data about traffic delays or any sort of interruptions etc.

解决方案

They have their transit schedule available in GTFS format, and an XML feed for service information. Read more.

这篇关于纽约mta地铁/公共汽车/火车等有api吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆