mma

mma

MMA Fighter API in NodeJS

Showing:

Popularity

Downloads/wk

12

GitHub Stars

103

Maintenance

Last Commit

3yrs ago

Contributors

0

Package

Dependencies

3

Size (min+gzip)

269.2KB

License

BSD-2-Clause

Type Definitions

Tree-Shakeable

No?

Categories

Readme

MMA Fighter API

Get fighter JSON by name.

Install

From source:

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

From npm:

npm install mma

Use

> var mma = require('mma');
> mma.fighter("Jon Jones", function(data) {
    console.log(data);
  });
> {
    "name": "Jon Jones",
    "nickname": "Bones",
    "fullname": "Jon \"Bones\" Jones",
    "record": "21-1-0",
    "association": "Jackson-Wink MMA",
    "age": "27",
    "birthday": "1987-07-19",
    "hometown": "Rochester, New York USA",
    "nationality": "United States",
    "location": "Endicott, New York USA",
    "height": "6' 4\"",
    "height_cm": "193",
    "weight": "205",
    "weight_kg": "93",
    "weight_class": "Light Heavyweight",
    "college": "Iowa Central",
    "degree": "Associates Degree",
    "summary": [
      "Wrestling",
      "jiu-jitsu",
      "muay thai"
    ],
    "wins": {
      "total": 21,
      "knockouts": 9,
      "submissions": 6,
      "decisions": 6,
      "others": 0
    },
    "losses": {
      "total": 1,
      "knockouts": 0,
      "submissions": 0,
      "decisions": 0,
      "others": 0
    },
    "strikes": {
        "attempted": 1679,
        "successful": 916,
        "standing": 541,
        "clinch": 188,
        "ground": 187
    },
    "takedowns": {
        "attempted": 64,
        "successful": 33,
        "submissions": 10,
        "passes": 22,
        "sweeps": 0
    },
    "fights": [
        {
            "name": "UFC 182 - Jones vs. Cormier",
            "date": "Jan / 03 / 2015",
            "url": "/events/UFC-182-Jones-vs-Cormier-38841",
            "result": "win",
            "method": "Decision (Unanimous)",
            "referee": "Herb Dean",
            "round": "5",
            "time": "5:00",
            "opponent": "Daniel Cormier"
        },
        {
            "name": "UFC 172 - Jones vs. Teixeira",
            "date": "Apr / 26 / 2014",
            "url": "/events/UFC-172-Jones-vs-Teixeira-34401",
            "result": "win",
            "method": "Decision (Unanimous)",
            "referee": "Dan Miragliotta",
            "round": "5",
            "time": "5:00",
            "opponent": "Glover Teixeira"
        },
        {
            "name": "UFC 165 - Jones vs. Gustafsson",
            "date": "Sep / 21 / 2013",
            "url": "/events/UFC-165-Jones-vs-Gustafsson-30249",
            "result": "win",
            "method": "Decision (Unanimous)",
            "referee": "John McCarthy",
            "round": "5",
            "time": "5:00",
            "opponent": "Alexander Gustafsson"
        }
    ]
}

More data coming soon:

  • All fighter ranking information from FightMatrix.com profiles @ fight-matrix-api

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial