π¦ ClawHub
gotrain
by @gumadeiras
MTA system train departures (NYC Subway, LIRR, Metro-North). Use when the user wants train times, schedules, or service alerts for MTA transit. Covers MTA Su...
TERMINAL
clawhub install gotrainπ About This Skill
name: gotrain description: MTA system train departures (NYC Subway, LIRR, Metro-North). Use when the user wants train times, schedules, or service alerts for MTA transit. Covers MTA Subway, LIRR, and Metro-North across the greater New York area. metadata: {"clawdbot":{"requires":{"bins":["gotrain"]},"install":[{"id":"node","kind":"node","package":"gotrain-cli","bins":["gotrain"],"label":"Install gotrain CLI (npm)"}]}}
gotrain
Atomic CLI for NYC transit departures (MTA Subway, LIRR, Metro-North).
Installation
npm install -g gotrain-cli
Commands
| Command | Description |
|---------|-------------|
| gotrain stations [query] | List/search stations |
| gotrain departures | Show departures for a station |
| gotrain alerts | Active service alerts |
| gotrain fav | Toggle favorite station |
| gotrain favs | List favorite stations |
Common Station IDs
MNR-149 - New HavenMNR-151 - New Haven-State StMNR-1 - Grand CentralMNR-203 - Penn Station (MNR)LIRR-349 - Grand CentralSUBWAY-631 - Grand Central-42 StExamples
# Search for Penn Station
gotrain stations pennNew Haven to Grand Central departures
gotrain departures MNR-149Check service alerts
gotrain alertsAdd favorite station
gotrain fav MNR-149
Source
https://github.com/gumadeiras/gotrain-cli
π‘ Examples
# Search for Penn Station
gotrain stations pennNew Haven to Grand Central departures
gotrain departures MNR-149Check service alerts
gotrain alertsAdd favorite station
gotrain fav MNR-149