MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    UNSOLVED MMM-DCMetroTrainTimes Convert API source

    Requests
    1
    1
    1812
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dorfman2
      dorfman2 last edited by

      Howdy all,

      I’m new to javascript and I’m looking to convert the awesome existing MMM-DCMetroTrainTimes Module from the WMATA API to the amazing MetroHero API. I believe this is more complicated than a simple HTTP swap, since WMATA uses HTTPS and MetroHero uses POST.

      I’ve pulled my own fork to start working on GitHub and have started attempting edits (unsuccessfully). I’ve gotten an api-key from MetroHero, and have made successful queries using Postman.

      Here’s the WMATA API Documentation
      Here’s the MetroHero API Documentation

      Any advice, examples, required reading that’d be helpful?

      Am I better off starting from scratch?

      Thanks for your help!

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy