#transprt

Ruby client for the Swiss public transport API at http://transport.opendata.ch
##Installation
gem install transprt
ruby example.rb
##Usage
To talk to the API, get a client:
require 'transprt'
client = Transprt::Client.new
See below how to use this client.
Hint: You may specify a mirror of the API other than http://transport.opendata.ch using the first argument of the constructor.
###Locations
http://transport.opendata.ch/#locations
client.locations query: 'Geneva'
###Connections
http://transport.opendata.ch/#connections
client.connections from: 'Lausanne', to: 'Geneva'
###Station board
http://transport.opendata.ch/#stationboard
client.stationboard station: 'Lausanne'
Development
Running the tests
rake test
License
MIT License (MIT)