Sha256: d6631c201f49c8a9d0507dfc3ccfeb8bda90de25edc8f342842873ecbe2b6249
Contents?: true
Size: 1.05 KB
Versions: 1
Compression:
Stored size: 1.05 KB
Contents
# OneBusAway This little 'gem' is for easily querying the next avialable bus at a given stop. ## Installation Add this line to your application's Gemfile: ```ruby gem 'one_bus_away' ``` And then execute: $ bundle Or install it yourself as: $ gem install one_bus_away Then you will need to create the file ~/.one_bus_away which contains just your API key which can be requested here: http://pugetsound.onebusaway.org/p/OneBusAwayApiService.action $ cat ~/.one_bus_away 6xxxxxf7-6ec4-45adsf22-bf33-sdfsdfs ## Usage one-bus-away arrivals-and-departures-for-stop [stop] [route] [arrival time from now] $ one-bus-away arrivals-and-departures-for-stop 13721 "D Line" 22 The D Line arrives in 4 minutes The D Line arrives in 19 minutes ## Contributing 1. Fork it ( https://github.com/ellisandy/one-bus-away-cli/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
one_bus_away-0.0.2 | README.md |