Closed owen-hayes closed 1 week ago
Seeing the same issue
Hey, this was a temporary fix for Amtrak's stations API being down. Since the API seems to be back, I should have a fix out today, if not by the end of the week.
There is now a hasAddress
attribute on each station to allow for checking whether a station has address data available. This shouldn't happen with Amtrak stations, but VIA doesn't provide address data.
As seen on https://amtraker.com/stations, calls to the
/stations
endpoint are returning incorrect data forlat
,lon
,address1
,address2
,city
,state
,zip
.For example, here is the response for
/stations/CHI
: