transitandtrails-cli

Transit & Trails API command line client

transitandtrails-cli

I am a command line client for the Transit & Trails API. I use transitandtrails under the hood.

npm install -g transitandtrails-cli

Or, if you want the current development version:

npm install -g "git+https://github.com/mojodna/node-transitandtrails-cli"
tnt --help
tnt -k <key> trailhead -g 292
tnt -k <key> trailhead-maps 292
  • TNT_KEY - (optional) API key--can be used to avoid passing -k.
  • TNT_URL_PREFIX - (optional) alternate URL prefix. Defaults to https://www.transitandtrails.org.

Copyright (c) 2013 Seth Fitzsimmons

Published under the MIT license.