juliuste / interrail

Find european train stations and routes. Client for the European Interrail / EuRail API.
ISC License
30 stars 4 forks source link

add optional `via` parameter #2

Open juliuste opened 7 years ago

juliuste commented 7 years ago

The original API supports another optional parameter called via, this should be added… Parameters taken from an API request:

{
lang: "en",
originId: "008062648",
destId: "007216050",
date: "2017-07-15",
time: "13:00",
via: "008108000;005510009"  // two via stations. this seems to be the maximum number of supported stations in this field (according to the GUI), this should be investigated further
}