Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.22 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.22 KB

gosugamers-matches

Build Status Dependency Status

Get information on every match on a page of GosuGamer's match history.

Example

var gosugamersMatches = require('gosugamers-matches');

gosugamersMatches(1, 'counterstrike', function(error, data) {
  if (error) {
    throw error;
  }

  // => `data` is _Array_ of _Objects_ from gosugamers-match
});

Installation

$ npm install gosugamers-matches

API

var gosugamersMatches = require('gosugamers-matches');

gosugamersMatches(page, game, callback)

Given Number page, String game, and Function callback, calls callback(error, data), where error is any Error encountered and Array data contains information on every match on page page of GosuGamers's match history for game. Information is parsed by gosugamers-match.