3.0.0 • Published 9 years ago

gosugamers-matches v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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.