gotrain
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.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
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.
How to use
Zainstaluj narzędzie za pomocą npm, uruchamiając polecenie
npm install -g gotrain-cli. Po instalacji będziesz mieć dostęp do komendygotrainw terminalu.Wyszukaj stację, którą chcesz monitorować, wpisując
gotrain stationsi nazwę lub skrót stacji (np.gotrain stations penndla Penn Station). Narzędzie wyświetli listę pasujących stacji wraz z ich identyfikatorami.Sprawdź rozkład odjazdów dla wybranej stacji, używając komendy
gotrain departuresi identyfikatora stacji (np.gotrain departures MNR-149dla New Haven). Zobaczysz listę nadchodzących pociągów z czasami odjazdu.Jeśli chcesz być na bieżąco z przerwami w ruchu, wpisz
gotrain alerts, aby zobaczyć aktywne alerty dotyczące całego systemu MTA.Aby zaoszczędzić czas, dodaj ulubione stacje do listy ulubionych za pomocą
gotrain favi identyfikatora stacji (np.gotrain fav MNR-149). Następnie możesz wyświetlić wszystkie ulubione stacje poleceniemgotrain favs.