CTA folks,
Earlier this week the directions returned from the API and in the CTA website changed from "North Bound", etc, to "Northbound", etc. This minor change broke a few things in my app and, judging from how many other apps pushed out updates this week, I'm assuming I was not the only one that was bitten by this change.
Thanks to a user's bug report, I just realized that the directions have now gone back to the original format! This renders my previous changes pointless and put me back in the position of having to scramble to rush out an update to account for this.
So some questions that come to mind...
What is going on here?
Can we expect more changes? Should I even bother going back to the original format?
Can you guys please give developers a heads up when you're making these types of potentially breaking changes?
This "exact string" method of specifying a direction is obviously fragile. Any thoughts to including an ID in the directions response, like 0 / 1 for N / S or E / W, respectively? Preferably matching what is already in the GTFS feed? Then you guys can change the formatting of the direction names willy nilly as long as those IDs are consistent.
Thanks in advance for your consideration.
~TreKing Dev
-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices