Get the latest NYC subway status for your train.
- Run
npm install
to retrieve modules - Run
node server.js
to start server - Access at
http://localhost:8080
(/api
for API routes)
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>"
}