This is a simple wrapper around the BreweryDB API packaged as a ruby gem. This is an updated version based on github.com/cmar/brewerydb. However, PintLabs has updated BreweryDB's API to version 2 which no longer works with cmars gem.
This update adds support for every API endpoint that allows GETs, including the Premium endpoints.
Wraps all the API documented here: www.brewerydb.com/api/documentation
You will need to register for an API key: www.brewerydb.com/api/register
You can pass any of the options specified in the BreweryDB API
In Rails, you can configure it with initializer by creating a file named config/initializers/brewerydb2.rb
BreweryDb2.configure do |config| config.apikey = 'YOUR_API_KEY' end
Remember: Good People Drink Good Beer!
updated to work with BreweryDB APIv2
properly documenting the hashie dependency
we return Hashie::Mash objects, so you can access the properties using .notation
search endpoint enabled
fully functional for all end points