Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

beermapping

1.0.1 • Public • Published

BeerMapping

An NPM package for the beermapping.com API

Build Status

Supported Service Commands

  • locquery
  • loccity
  • locstate
  • locmap
  • locscore
  • locimage

Usage Example

var BeerMapping = require('beermapping');
  
var beer = new BeerMapping('<Your API Key>');
 
var intracoastalBrewingCompany = null;
beer.locationsByName('intracoastal', function (err, results) {
  if (!err) {
    intracoastalBrewingCompany = results.bmp_locations.location[0];
  }
});

Install

npm i beermapping

DownloadsWeekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar