PC Thirdrails Live Map Tracker Now Supports Train Sim World 5

Discussion in 'TSW General Discussion' started by BeenTrain, Oct 21, 2024.

  1. Princess Entrapta

    Princess Entrapta Well-Known Member

    Joined:
    Jul 23, 2021
    Messages:
    2,875
    Likes Received:
    3,689
    If your email has issues, the forum also has direct user to user messages, just FYI.
     
    • Like Like x 2
  2. Volvo B10M

    Volvo B10M Active Member

    Joined:
    Apr 21, 2022
    Messages:
    339
    Likes Received:
    48
    I forgot DM was available on here, thanks for reminding me.
     
    • Like Like x 1
  3. protonmw

    protonmw Active Member

    Joined:
    Mar 18, 2022
    Messages:
    185
    Likes Received:
    147
    BeenTrain are you using the httpapi? Is there any further information regarding the api somewhere available? More endpoints perhaps?
     
  4. Bradmac

    Bradmac Member

    Joined:
    Jul 28, 2020
    Messages:
    75
    Likes Received:
    39
    I'm getting a Thirdrails crash when trying to do a DB service:
    * Start Service
    * Europe
    * Search for services from a location - eg Köln Hbf
    * List of services appears
    * Click on service to see schedule - Thirdrails crash!

    Anyone else having this problem?
     
  5. OpenMinded

    OpenMinded Well-Known Member

    Joined:
    Feb 10, 2021
    Messages:
    1,287
    Likes Received:
    2,139
    BeenTrain , what kind of insight do you have into the capabilities of this API? Obviously there is no official documentation about it, however, we are also experimenting with it and are looking specifically for a time read out (local, UTC, or whatever, could theoretically simply be a timer which run synchronously with TSW time progression), which we can not find. Have you any more information about this, by any chance?!
     
  6. BeenTrain

    BeenTrain Active Member

    Joined:
    Dec 10, 2016
    Messages:
    157
    Likes Received:
    133
    protonmw OpenMinded
    Yes, I’d be happy to share what I know about the API!

    I’m currently on vacation, so a full deep dive is a bit tricky at the moment, but you can already explore quite a bit yourself.

    The API runs on http://localhost:31270/.

    Start by checking these endpoints using f.e Postman, dont forget to add the api key in the header called "DTGCommKey"
    These give you insight into available nodes and endpoints, great starting points for exploring.

    OpenMinded you probably need the TimeOfDay node:../get/TimeOfDay

    If you’re using C#, you can also take a look at the TSWData.dll included in the ThirdRails setup. It exposes a TSWDataService that wraps the parts of the API used in ThirdRails (functions, models, etc.).

    I do have plans to open-source it in some form soon.

    Hope this helps! I’ll be back by the end of next week, so I can provide more info or examples if needed, instantly forgot the details on the beach :D:cool:
     
    Last edited: Jul 4, 2025 at 11:37 AM
    • Like Like x 1
    • Helpful Helpful x 1
  7. OpenMinded

    OpenMinded Well-Known Member

    Joined:
    Feb 10, 2021
    Messages:
    1,287
    Likes Received:
    2,139
    Helps a great deal already, many thanks!

    Have a great remaining holiday, then:cool:
     
    • Like Like x 1

Share This Page