Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 532 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 532 Bytes

FightMatrix API

Crawls and parses fighter data from FightMatrix.com

*This api is used in the higher-level MMA API.

Install

From source:

git clone https://github.com/valish/fight-matrix-api
cd fight-matrix-api
npm install

From npm:

npm install fight-matrix

Use

> var fightMatrix = require('fight-matrix');
> var url = "http://www.fightmatrix.com/fighter-profile/Ronda+Rousey/74813/"
> fightMatrix.getFighter(url, function(data) {
    console.log(data);
  }
> {...}