DVB
This is an unofficial gem giving you a few options to query Dresden's public transport system for current bus- and tramstop data.
Similar libs also exist for Node, Python and Swift ๐
Installation
Add this line to your application's Gemfile:
gem 'dvb'
And then execute:
$ bundle
Or install it yourself as:
$ gem install dvb
Usage
Calling the following will return a list of DVB::Departure
objects encapsulating information about upcoming departures at the given stop.
DVB::monitor('helmholtzstrasse')
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kiliankoe/dvbrb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Why?
At this point I consider writing wrappers for the DVB/VVO APIs as somewhat of an extensive hello-world exercise for myself. I'm trying to get back into Ruby and realized I've never published a gem, so here goes nothingย ๐