Coder Social home page Coder Social logo

Comments (3)

piemadd avatar piemadd commented on September 24, 2024

I totally understand your use case here and also have no idea why I don't have the estimated arrival/departure on the stations endpoint. You've actually caught me at the right time as I am currently working on rewriting the API currently (should be done by Sunday) and I'll make sure that the train and station objects are standardized through all endpoints.

from amtrak.

scvnc avatar scvnc commented on September 24, 2024

@piemadd any updates? Want to meet up in Chi town? I want to help bolster and test this lib

from amtrak.

piemadd avatar piemadd commented on September 24, 2024

Sorry for taking a while, just finished the new API, which is live at https://api-v3.amtraker.com/v3. I'm currently working on porting Amtrak.js over to operate with this api. It has some breaking changes from the previous api, one of which is to move away from including train information in station requests, and instead including a list of train ids ([train number]-[day of the month the train originated]), like this:
image

you can try it out here:
https://api-v3.amtraker.com/v3/trains
https://api-v3.amtraker.com/v3/trains/6
https://api-v3.amtraker.com/v3/stations/NYP
https://api-v3.amtraker.com/v3/stations

from amtrak.

Related Issues (7)

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.