An example of how you could use the wmataapiapi API, based off of the hosted version.
Want to help? Improve the code, or host an instance! I’m hosting this out-of-pocket and would love for it to be owned instead by some organization with a vested interest.