API
Caveat lector: you want to use a data dump? Don’t harvest our entire API, please just use our datadump in GTFS which you can find here:
- http://gtfs.irail.be/de-lijn/de_lijn-gtfs.zip
- http://gtfs.irail.be/nmbs
- http://gtfs.irail.be/tec/tec-gtfs.zip
- http://gtfs.irail.be/mivb/mivb-gtfs.zip
We are also working on datadumps which give you the delay time per minute, bear with us while we are setting up our archive server.
If you have any questions about the data, ask us on twitter, or on our mailing list.
* Development of our lates API can be followed at github.com/iRail
The Belgian Railways (NMBS/SNCB) API
The documentation of the iRail API can be found at http://api.irail.be.
The De Lijn (Flemish bus company) API
Currently we process only static data about De Lijn. You can use this API in the same fashion as the Belgian railway company ↑.
Start at http://data.irail.be/DeLijn/Stations (.json). You can filter on the “name” by adding a GET parameter: e.g., http://data.irail.be/DeLijn/Stations?name=gent. As the list is quite big, this can help you to create quicker auto-complete lists.
You will have to now construct the request towards the expected departures at a bus stop yourself. For example, for 2014-05-10T12:00, for Aalst Gentsestraat, you’ll have to construct: http://data.irail.be/DeLijn/Departures/Aalst%20Gentsestraat/2014/05/10/12/00.json
The MIVB/STIB (Brussels bus company) API
Same story as above, but now use MIVBSTIB: http://data.irail.be/MIVBSTIB
The TEC (Walloon bus company) API
The TEC announced their Open Data sets as the first company in Belgium. Sadly, we didn’t integrate it in this API as we are working on our new API. You can use the data dumps though.
Miscellaneous
There are some other resources to be found as well, such as real-time bike availability or parking spots in Brussels. We are not updating or supporting these anymore. As long as they work, they work though.
Pingback: Submit your app written on top of the iRail API | iRail
Pingback: Lista de APIs públicas – Enrique Munguía
Pingback: Public APIs – pickyug
Pingback: Public APIs |
Pingback: JSON API list – Pantheon
Pingback: Public-APIs: A collective list of free APIs - dopemakeup.com
Pingback: add irail | 聚合
Pingback: open apis korea: GitHub File Free Download