Project

brewerydb2

0.0
No commit activity in last 3 years
No release in over 3 years
An API wrapper for PintLabs BreweryDB
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 1.0.0
>= 0.7.3
 Project Readme

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