Tillbaka till forum

Get train announcement for all stations in sweden

2019-01-29 06:23:23 av Deepu (uppdaterad 2019-01-29 06:26:49)
Hey, I have a requirement in which I have to get the train schedules for all the stations in Sweden. I tried using the following way. {{code}} <REQUEST> <LOGIN authenticationkey="my_api_key" /> <QUERY objecttype="TrainAnnouncement" orderby="AdvertisedTimeAtLocation desc"></QUERY> </REQUEST> {{/code}} The request is taking too much time to process and most of the time I get either a time out error or memory exhausted error. Is there a better way to do this, for example applying any filter like country code or so? I know I can make use of applying the station signature in the filter, but since I have to get all the stations in Sweden this seems to be difficult. Any help is much appreciated. Thanks