<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MMM-DCMetroTrainTimes Convert API source]]></title><description><![CDATA[<p dir="auto">Howdy all,</p>
<p dir="auto">I’m new to javascript and I’m looking to convert the awesome existing <a href="https://github.com/AdamMoses-GitHub/MMM-DCMetroTrainTimes" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-DCMetroTrainTimes</a> Module from the WMATA API to the amazing <a href="https://dcmetrohero.com" target="_blank" rel="noopener noreferrer nofollow ugc">MetroHero</a> API. I believe this is more complicated than a simple HTTP swap, since WMATA uses HTTPS and MetroHero uses POST.</p>
<p dir="auto">I’ve pulled my own <a href="https://github.com/dorfman2/MMM-DCMetroTrainTimes" target="_blank" rel="noopener noreferrer nofollow ugc">fork to start working on GitHub</a> and have started attempting edits (unsuccessfully). I’ve gotten an api-key from MetroHero, and have made successful queries using Postman.</p>
<p dir="auto"><a href="https://developer.wmata.com/docs/services/" target="_blank" rel="noopener noreferrer nofollow ugc">Here’s the WMATA API Documentation</a><br />
<a href="https://www.dcmetrohero.com/apis" target="_blank" rel="noopener noreferrer nofollow ugc">Here’s the MetroHero API Documentation</a></p>
<p dir="auto">Any advice, examples, required reading that’d be helpful?</p>
<p dir="auto">Am I better off starting from scratch?</p>
<p dir="auto">Thanks for your help!</p>
]]></description><link>https://forum.magicmirror.builders/topic/5749/mmm-dcmetrotraintimes-convert-api-source</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 08:34:52 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/5749.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Dec 2017 22:16:13 GMT</pubDate><ttl>60</ttl></channel></rss>