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!