I’m trying to put together a relatively basic app which simply shows the upcoming buses from a single bus stop. The issue, is that the data seems to be retrieved in 2 parts.
For example, using the JSFiddle example from the TFL site: https://jsfiddle.net/4bmLzjt5/122/ - the example using the Northern line retrieves the next 10 or so trains at once.
However, if I put in the bus stop I’m concerned with (line: R70, Naptan: 490012527S ) - the retrieved data comes back in two parts, normally a single bus (sometimes it’s the 2nd one due, sometimes the first), and then another 2 buses are retrieved.
As I’m simply changing the ID’s in the existing code, I can’t really see what’s wrong and causing this. Is there a way of retrieving all the bus arrival data at once?