3.0.0 • Published 11 years ago
gosugamers-matches v3.0.0
gosugamers-matches
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-matchesAPI
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.