Comments (9)
They have changed the serialization of direction in the JSON. It used to be Southbound or Northbound, now it's To Greystones, To Howth and such.
from ierail.
XML response has changed slightly it, which is borking our 'northbound_from' and 'southbound_from' calls. We used to select based on the direction attribute, which used to be "Northbound" or "Southbound".
from ierail.
Ah, beat me to it 😆
from ierail.
We have to update those methods, but there's more to it -- this just harmonizes the special approach that was for DARTS with the other trains. Perhaps throw a not a DART exception if the target train is a mainline :)
from ierail.
👍 I was just thinking something similar. Was their docs page always that rough?
from ierail.
Yeah, has always been rough. If the train is a DART we'll probably need to keep a N-S list of stations, so we can keep these APIs functional.
from ierail.
It switched back to this To X format again just there. Waiting for a bit to see if it changes back again just like it did last time :)
from ierail.
...and it's back to normal.
from ierail.
Closing this due to lack of activity tbh.
from ierail.
Related Issues (9)
- Some WS messages not covered HOT 1
- More sample code please HOT 2
- URI encode station names
- Times do not have timezone data associated with them HOT 2
- Test suite hits the API HOT 2
- Review and standardize API attribute names for 0.4
- Difference between station(station_name).in(mins) and station_times(station_name, mins)
- API supports querying trains within the next X minutes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ierail.