Skip to content

jsadwith/Subway-Status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Subway-Status

Get the latest NYC subway status for your train.

Setup

  1. Run npm install to retrieve modules
  2. Run node server.js to start server
  3. Access at http://localhost:8080 (/api for API routes)

Usage

/api/get/{train}

Get status for a given train ('n', 'q', etc.).

http://localhost:8080/get/{train}

Response Example

{
  "line": "NQR",
  "status": "PLANNED WORK",
  "text": "<html>subway HTML</html>"
}

About

Get the latest NYC subway status for your train.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published