Skip to content
Simple Wrapper around the BreweryDB API v2
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
Gemfile
README.rdoc
Rakefile
brewerydb2.gemspec

README.rdoc

BreweryDB2 API

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.

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!

Releases

0.1.0

  • updated to work with BreweryDB APIv2

Updates below from github.com/cmar/brewerydb

0.0.4

  • properly documenting the hashie dependency

0.0.3

  • we return Hashie::Mash objects, so you can access the properties using .notation

  • search endpoint enabled

0.0.2

  • fully functional for all end points

0.0.1

  • initial release

Something went wrong with that request. Please try again.