public-transport / vbb-hafas

A JavaScript client for Berlin & Brandenburg public transport HAFAS API.
https://github.com/public-transport/vbb-hafas
ISC License
32 stars 4 forks source link

API does not return the cheaper tickets for Szczecin #26

Open derhuerst opened 6 years ago

derhuerst commented 6 years ago

According to Wikitravel and their transit planner to be the following prices for Szczecin public transport:

For so-called fast lines, the prices double:

For a journey from Szczecin Gumience to Szczecin Glowny, the VBB API only returns the following prices:

derhuerst commented 6 years ago

The adult full day ticket (12 PLN or 2.86€) could be the same as Bartarif Szczecin 1: Tageskarte Regeltarif for 2.60€.

derhuerst commented 6 years ago

According to http://szczecin.esn.pl/public-transport, there seems to be a 50% price discount for students. According to the public transport provider, reduced tickets are always 50% off. These apply to children, students, people with disabilities, pensioners, unemployed people and veterans.

derhuerst commented 6 years ago

https://github.com/derhuerst/vbb-parse-ticket/commit/0c3f624961b770e3076cf80885e6949904cbd2b0 added basic support for Szczecin tickets.

derhuerst commented 6 years ago

There are also batches of 10 available for the price of 9:

Again, fast lines are twice as expensive.

Group tickets: