resteemo

RESTeemo API wrapper.

node-resteemo

RESTeemo API wrapper for Node. Powered by Quickfind.

$ npm install resteemo

As per RESTeemo's Terms and Conditions, you must provide contact details in the user agent of requests. node-resteemo will not fill in these details for you.

var teemo = require('resteemo')('string with contact info');

Returns an Object profile containing ID-based data for String summoner on String platform. Account and summoner IDs are not unique across platforms.

teemo.player.create('euw', 'guardsmanbob', function(errprofile) {
  if (err) throw err;
 
  console.log(profile);
  // => { 
  // =>   summoner: { 
  // =>     id: 20820067 
  // =>   }, 
  // =>   account: { 
  // =>     id: 24132405 
  // =>   }, 
  // =>   name: 'Guardsman Bob', 
  // =>   internalName: 'guardsmanbob', 
  // =>   level: 30, 
  // =>   icon: 30 
  // => } 
});

Not ready for use

Returns an Array of the last 10 matches (order is random) for String summoner on String platform.

teemo.player.recentGames('euw', 'guardsmanbob', function(errgames) {
  if (err) throw err;
 
  // Do stuff with Array `games`. 
}));

Returns lifetime influence point gains for String summoner on String platform.

teemo.player.recentGames('euw', 'guardsmanbob', function(errpoints) {
  if (err) throw err;
 
  console.log(points);
  // => 596797 
}));
Short Full
na North_America
br Brasil
ru Russia
euw Europe_West
eun Europe_East
tr Turkey
  • Initial release