Python scripts to query the the NYC bus API. There are two scripts to access the API:
-
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
-
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