Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

boxrec-pull

Ikuu42MIT1.0.1

Pulls information about a specifc boxer from Boxrec.

boxrec, boxing

readme

Boxrec-Pull

Allows for information about a boxer to be pulled from the online boxing database, Boxrec.

NPM version

Installation

npm install boxrec-pull --save

Usage

var boxrec = require('boxrec-pull');

boxrec.findById(356831, function(err, boxer) {
  console.log(boxer.name); // 'Gennady Golovkin'
});

boxrec.findByName('Carl Froch', function(err, boxer) {
  console.log(boxer.nickname); 'The Cobra'
});

Notes

At present only the name, record, and nickname for a fighter are returned.

Tests

npm test