boxrec-pull
v1.0.1
Published
Pulls information about a specifc boxer from Boxrec.
Downloads
16
Readme
Boxrec-Pull
Allows for information about a boxer to be pulled from the online boxing database, Boxrec.
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