API for finding trains between two connected stops in an agency. (Called "njt-api" from its initial use for New Jersey Transit)
This is an api created with bottle, with the necessary files to run on Google App Engine. It's use is mostly for duckduckgo's instant answer platform. You can find it at duckduckgo/zeroclickinfo-spice#891
git clone
- Download the GTFS data for each agency you want to use.
- Put the zip files in
data/<name>/gtfs.zip
. pip install --target lib transitfeed bottle
and grab the GAE stuff.- You'll need to patch
transitfeed.py
. On linux, this command ispatch lib/transitfeed.py < transitfeed.py.patch
. I would report these errors, but this library hasn't been updated in two years. python parse.py
That's it. You can now kick off the GAE instance.