Skip to content

garnermccloud/ratebeer-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Unofficial library for working with RateBeer data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%