/nyc_subway_live

A command-line interface to check NYC Subway arrival times

Primary LanguagePythonMIT LicenseMIT

sbwy.live

A proper geeky way to check NYC Subway arrival times.

This tool is inspired by wttr.in.

sbwy.live is made possible by using APIs from transiter.

Usage

curl sbwy.live/<line>        # show stations and their IDs of the line
curl sbwy.live/<zip_code>    # show stations around that zipcode
curl sbwy.live/<station_id>  # show arrival times at a station

Examples

  • curl sbwy.live/R returns

by_line

  • curl sbwy.live/10002 returns

by_zipcode

  • curl sbwy.live/R21 returns the arrival times

arr_time