Arrival times show buses that have already arrived

im trying to call for outcoming times for stops ( using stop info by id ) but for some stops the info is for times in the past. not sure how to set paramiters for time

Comments

  •  
    Thank you for your feedback. We have forwarded your query to our developers to see if it’s a quick fix or not. Either way we’ll look to have an update back to you in the next 2 weeks.
    Posted by Hidden Thu, 24 Oct 2019 20:34:02 GMT
  •  
    The behavior of the API is as follows:By default, it will return the stop times from 30 min before to 2 hours after the current time.There are additional parameters but they only allow to get all the stop times from the beginning of the current day until a time defined by an offset.If you add the parameter start_date=2019-10-29 and the parameter offset_hours=10, it will take all the stop times from the beginning of the day until 10 am.So the only solution would be to discard the stop times before the current times. Thank you
    Posted by Hidden Tue, 12 Nov 2019 21:20:13 GMT


You're not signed in. Please sign-in to report an issue or post a comment.