New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ufc

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ufc

NodeJS API for UFC.com

latest
Source
npmnpm
Version
0.1.4
Version published
Maintainers
1
Created
Source

UFC Fighter API

Crawls and parses fighter data from UFC.com fighter profiles

Install

From source:

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

From npm:

npm install ufc

Use

> var ufc = require('ufc');
> var url = "http://www.ufc.com/fighter/Jon-Jones"
> ufc.getFighter(url, function(data) {
    console.log(data);
  });
> {
  "name": "Jon Jones",
  "nickname": "Bones",
  "fullname": "Jon \"Bones\" Jones",
  "hometown": "Rochester, New York USA",
  "location": "Endicott, New York USA",
  "age": "27",
  "height": "6' 4\"",
  "height_cm": "193",
  "weight": "205",
  "weight_kg": "93",
  "record": "21-1-0",
  "college": "Iowa Central",
  "degree": "Associates Degree",
  "summary": [
    "Wrestling",
    "jiu-jitsu",
    "muay thai"
  ],
  "strikes": {
    "attempted": 1679,
    "successful": 916,
    "standing": 541,
    "clinch": 188,
    "ground": 187
  },
  "takedowns": {
    "attempted": 64,
    "successful": 33,
    "submissions": 10,
    "passes": 22,
    "sweeps": 0
  }
  "fights": []
}

Keywords

UFC

FAQs

Package last updated on 10 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts