Skip to content

A python program that uses the pyWMATA library to provide a RESTful route finding API for the Washington Metropolitan Area Rail Lines.

License

Notifications You must be signed in to change notification settings

ddworken/WMATADirectionAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WMATADirectionAPI

A python program that uses the pyWMATA library to provide a RESTful route finding API for the Washington Metropolitan Area Rail Lines.

#Example Running

curl localhost:80/WMATA/route/C13/A04/

and

curl localhost:80/WMATA/route/King/Woodley/

both return:

{
  "Start": "King Street (Start towards Fort Totten)", 
  "Transfer": "Gallery Place (Transfer towards Shady Grove)"
  "End": "Woodley Park Zoo (Exit)", 
}

About

A python program that uses the pyWMATA library to provide a RESTful route finding API for the Washington Metropolitan Area Rail Lines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages