Coder Social home page Coder Social logo

Comments (9)

oisin avatar oisin commented on August 28, 2024

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.

gary-rafferty avatar gary-rafferty commented on August 28, 2024

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.

gary-rafferty avatar gary-rafferty commented on August 28, 2024

Ah, beat me to it 😆

from ierail.

oisin avatar oisin commented on August 28, 2024

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.

gary-rafferty avatar gary-rafferty commented on August 28, 2024

👍 I was just thinking something similar. Was their docs page always that rough?

from ierail.

oisin avatar oisin commented on August 28, 2024

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.

oisin avatar oisin commented on August 28, 2024

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.

oisin avatar oisin commented on August 28, 2024

...and it's back to normal.

from ierail.

oisin avatar oisin commented on August 28, 2024

Closing this due to lack of activity tbh.

from ierail.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.