0.0.2 • Published 10 years ago

ratebeer-api v0.0.2

Weekly downloads
3
License
BSD-2-Clause
Repository
github
Last release
10 years ago

Ratebeer API

Ratebeer API is an unofficial JavaScript library for working with http://ratebeer.com data. It was inspired by the Beer Advocate API by Charlie Hield: https://github.com/stursby/beer-advocate-api

Getting started

Ratebeer API can be installed via NPM. (For more on NPM, see this introduction). Make sure you’re in your projects directory, and run the following:

$ npm install ratebeer-api

Including the library

Next, make sure to include Ratebeer API in your project.

var rb = require('ratebeer-api');

Documentation

Beers

Search

Search for a beer

rb.beerSearch("Anchor Steam", function(beers) {
    console.log(beers);
});

Beer page

Get a specific beer page

rb.beerPage("/beer/dogfish-head-60-minute-ipa/7431/", function(beer) {
    console.log(beer);
});

Acknowledgements

Ratebeer API is not associated with Ratebeer.com. I love everything they've done for beer and making the info available to all of us.

Ratebeer API is inspired by the Beer Advocate API. Thank you Charlie Hield for the work you did. I hope my work with the Ratebeer API can be as beneficial.

0.0.2

10 years ago

0.0.1

10 years ago