• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.0k 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.
  • D Offline
    dorfman2
    last edited by Dec 17, 2017, 10:16 PM

    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
    1 / 1
    • First post
      1/1
      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