logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Login


Options
View
Go to last post Go to first unread
darkery  
#1 Posted : Tuesday, December 20, 2011 3:53:26 PM(UTC)
darkery

Rank: Member

Groups: Registered
Joined: 12/20/2011(UTC)
Posts: 19

the following works fine and retrieves info for Sun Nov 20
Code:
http://developer.cumtd.com/api/v2.0/json/GetStopTimesByStop?stop_id=IT&date=2011-11-20


when i omit the date it gives a giant list with redundant times and also weekend times, but i only want to see the times for today

the following returns no stop_times for today Tue Dec 20
Code:
http://developer.cumtd.com/api/v2.0/json/GetStopTimesByStop?stop_id=IT&date=2011-12-20


i can get stuff to work up to 12-17, but 12-18 and all dates after don't produce any times

wouldn't this be more useful if it actually gave the scheduled times of stops for today (and by default eg no date parameter given) or for a specified future date, instead of only for specified past dates or a giant list of all the possible times???

to get the giant list that should be specifically requested as with something like '&date=all'
Ryan  
#2 Posted : Wednesday, December 21, 2011 2:41:27 PM(UTC)
Ryan

Rank: Administration

Groups: Administrators, Registered
Joined: 6/1/2011(UTC)
Posts: 88
United States
Location: Urbana

Thanks: 1 times
Was thanked: 6 time(s) in 6 post(s)
The new dates have been added. We were running up against the end of our service board and we are only able to have one set of data loaded at once. Basically it was a mistake on our part, but everything should be OK now.

As far as defaulting to today's date I think you are going to have to stick with explicitly including it. We aren't going to change/remove functionality mid-version. We can revisit if this is the functionality we want for our next release, but there are not immediate plans for such a change.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.