没有人知道任何列车时刻表API服务? [英] Does anyone know any train timetable API service?

查看:125
本文介绍了没有人知道任何列车时刻表API服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

时间在流逝,但事情是移动(欧洲):我的一个朋友告诉我的: http://project.irail.be/ 大气压它只是比利时。

time is passing, but something is moving (europe): a friend of mine showed me this: http://project.irail.be/ Atm it works just for Belgium.

我想知道是否有任何在线服务,谁提供的API关于列车时刻表(到达,出发,蚀刻..),至少在欧洲站。

im wondering if there is any online service who provide API about the train timetables (arrivals, departure, etch..), at least for the european stations.

我知道www.bahn.de,谁许多欧洲国家提供accurated时间表,但我didin't找到任何类似的API服务。

I know www.bahn.de, who provide the accurated timetables for many european countries, but i didin't find any similar to a api service.

我的目标(当然,只是一个的未来项目的)是像下发展的GMaps实现应用程序,但不是给汽车游我想给火车行程..你知道,用户设置的出发日期,时间和车站,然后第一个到来,也许再增加一个,依此类推。

My goal (well, just a future-project) is to develope an application like gmaps, but instead of giving the car-trip i would like to give the train-trip.. you know, the user set the departure day, time and station, then the first arrival, maybe then add another one, and so on.

因此​​,有类似的东西,可以通过PHP / Python的/ JavaScript的被queryed?

So, there is something like, that can be queryed by php/python/javascript?

编辑:如果能有所帮助,即时知道构建服务计划的轨间之旅! (和任何帮助将是非常美联社preciate)

if can help, im wondering to build a service to plan an inter-rail trip! (and any help will be really appreciate)

林卡住。
谷歌的公共服务API依赖于每个地方公司生产缴费,多分支缺失(例如,几乎是不可能用它来构建触及欧洲的两个或两个以上地区行程的信息。
正如我以前说过,我知道这样做很好的唯一服务就是bahn.de,他们真的有所有的数据..但没有API。
我trye​​d解析更有耐力结果页面(为了使用他们作为API),但看起来标记是以往正是建立,以避免..也许他们已经落后或任何商业计划,但我不认为他们会不断发布一些API ..所以,我的项目是怎么回事没有这个功能(PS:我的项目是非营利性文化团体,我们不会让战争给任何人; P)

Im stuck. Google's public-service api rely on the information that every local company makes avaiable, much branches are missing (for example, is almost impossible to use it to build an itinerary that touches two or more regions of Europe. As i said before, the only service that i know doing it good is the bahn.de, they really have all the data.. but no api. I tryed to parse theyre result page (in order to use them as API), but seem like the markup is been build exactly to avoid that.. maybe they have business plans behind that or whatever, but i dont think they will ever release some API.. so, my project is going on without this function (p.s: my project is about non-profit cultural organizations, we wont make war to anyone ;P)

@El Goorf:如果你找到一种方法,并考虑共享它的想法,指望我的手,如果需要帮助

@El Goorf: if you find a way, and consider the idea of sharing it, count on my hand if need help!

推荐答案

仅供参考。国家铁路在英国并不为他们的英国火车的数据提供了一个API,并得到非常好笑的开发人员调用形式/刮第三方应用程序的页面。这是一个非常奇怪的封闭模式。谷歌或BBC的可能是你最好的选择,虽然BBC提供旅游信息,而不是时间表。

FYI. National Rail in the UK don't provide an API for their UK train data and get very funny about developers calling forms/scraping pages from third party apps. It's a very strange closed model. Google or the BBC might be your best bet, although the BBC provide travel information as opposed to time tables.

这篇关于没有人知道任何列车时刻表API服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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