OpendataCH / Transport

Swiss public transport API
http://transport.opendata.ch/
MIT License
241 stars 50 forks source link

Adding support for transportations in connections again #190

Closed fabian closed 6 years ago

fabian commented 6 years ago

Adding support for transportations again. Reviews welcome, looking at merging and deploying it next week.

We have introduced a new parameter transportation_types on the timetable.search.ch API. See documentation here: https://fahrplan.search.ch/api/help#route

Note that not all the filters the transport api supported in the past work, as we don't think the very fine-graned train filters are ever needed.

https://github.com/OpendataCH/Transport/issues/182#issuecomment-389427093

Fixes https://github.com/OpendataCH/Transport/issues/164.

helbling commented 6 years ago

thanks, looks good to me

Fieel commented 6 years ago

This is a good addition, been waiting for this for a while now