gosugamers-matches

3.0.0 • Public • Published

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.

/gosugamers-matches/

    Package Sidebar

    Install

    npm i gosugamers-matches

    Weekly Downloads

    5

    Version

    3.0.0

    License

    MIT

    Last publish

    Collaborators

    • kenan