MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-DCMetroTrainTimes Convert API source

    Scheduled Pinned Locked Moved Unsolved Requests
    1 Posts 1 Posters 1.9k Views 1 Watching
    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.
    • dorfman2D Offline
      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 Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy