boxrec-pull

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i boxrec-pull

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ikuu