/NYC-Bus-API-Scripts

Python scripts to query the the NYC bus API

Primary LanguagePython

NYC-Bus-API-Scripts

Python scripts to query the the NYC bus API. There are two scripts to access the API:

  1. Find_NYC_Bus_Locations.py takes two system arguments: an API key and a Bus Line number and returns the real-time location of all the buses on the route

  2. Find_NYC_Bus_Route_Info.py takes two arguments: an API key and a Bus Line and returns the status of a bus, including lat-lon, closest stop, and stop status