Till senaste kommentaren

Getting arrivals data for all stops in one call

Hi there

I'm looking to get arrivals data for all stops, ideally in one call. Is this possible?

I'd like to get this data fairly frequently, as often as every minute, and so having to make an individual call for every stop every minute doesn't seem practical.

Thanks

Richard
Richard Hawthorn Rapportera olämpligt innehåll

Kommentarer

  • Hi Richard,

    We have GTFS and GTFS-realtime datasets exactly for this purpose.

    If you only want static data, I'd recommend you to use our GTFS Sverige 2 feed. It is a dataset which contains all scheduled public transport in Sweden.

    If you want higher-quality data, or if you also need realtime data, you can use our GTFS Regional feeds. You'll need to download the file for every operator, and while it covers almost all regions, it lcaks information from many private operators at this point. However, the data comes in very high quality and includes realtime data (GTFS-RT) for 8 operators. 7 operators are even sharing GPS coordinates for every vehicle through the GTFS-RT data. You can read more here: https://www.trafiklab.se/node/26806/documentation

    Regards,
    Bert

    Bert på Trafiklab

Kommentera eller skriv ett nytt inlägg

Ditt namn och inlägg kan ses av alla. Din e-post visas aldrig publikt.