开发者资源
Foothill Transit 向开发者社区提供我们所有的数据和提要,鼓励第三方开发者使用这些信息来构建应用程序,以改善我们的客户和社区的骑行体验。
为了访问 Foothill Transit 的 GTFS-RT 提要,请提供公共 IP 和您的组织名称以 info@foothilltransit.org. 收到后,将发送一封确认电子邮件,授予对数据的访问权限。 通过使用数据,您的组织将受到约束 Foothill Transit 的开发者许可协议.
如果您在使用以下链接时遇到错误,请尝试使用此链接。 https://ftp.foothilltransit.org/public/file/W1aaxKeN70Ch2v-xWgew8Q/Foothill_Transit_May42022.zip。
如果您使用这些数据,我们很乐意了解您的项目。 请给我们留言: 评论@foothilltransit.org 让我们知道你创造了什么!
实时 GTFS
GTFS-real-time 以行业标准格式提供实时警报、车辆位置和到达预测数据。 GTFS-real-time 最适合在相对较小的包中一次检索整个系统的数据,但必须使用机构的静态 GTFS 数据进行推断才能有意义。
我们 Google 的 GTFS 实时文档 有关 GTFS 实时格式的更多信息。
静态 GTFS 文件在这里:
https://foothilltransit.rideralerts.com/myStop/GTFS-Zip.ashx
GTFS 实时链接如下
二进制、系统可读的实时链接是:
服务提醒: https://foothilltransit.rideralerts.com/myStop/GTFS-Realtime.ashx?Type=Alert
旅行更新: https://foothilltransit.rideralerts.com/myStop/GTFS-Realtime.ashx?Type=TripUpdate
车辆位置: https://foothilltransit.rideralerts.com/myStop/GTFS-Realtime.ashx?Type=VehiclePosition
或者对于人类可读的调试格式输出:
服务提醒: https://foothilltransit.rideralerts.com/myStop/GTFS-Realtime.ashx?Type=Alert&debug=True
旅行更新: https://foothilltransit.rideralerts.com/myStop/GTFS-Realtime.ashx?Type=TripUpdate&debug=true
车辆位置: https://foothilltransit.rideralerts.com/myStop/GTFS-Realtime.ashx?Type=VehiclePosition&debug=True
RSS订阅
Foothill Transit 通过 RSS 源提供其最新发布的信息,您可以自由地将其包含在您的网站或源阅读器中。