RESTeemo API wrapper.
Want to see pretty graphs? Log in now!
npm install resteemo
|40||downloads in the last month|
|Last Published By|
|Version||2.4.1 last updated 7 months ago|
|Dependencies (6)||lodash.find, lodash.isfunction, lodash.isnull, lodash.isstring, lodash.isundefined, request|
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');
All functions are asynchronous. The callback is always executed as
callback(error, response), where
response is an Object unless there was an
error. Refer to RESTeemo's API docs for what each
response looks like.
Looks up information for String
summoner on String
teemo.player(platform, summoner, callback)
teemo.player.ingame(platform, summoner, callback)
teemo.player.recentGames(platform, summoner, callback)
teemo.player.influencePoints(platform, summoner, callback)
teemo.player.runes(platform, summoner, callback)
teemo.player.mastery(platform, summoner, callback)
teemo.player.leagues(platform, summoner, callback)
teemo.player.honor(platform, summoner, callback)
teemo.player.teams(platform, summoner, callback)
season is a Number.
teemo.player.rankedStats(platform, summoner, season, callback)
Looks up information for a team using String
tag or String
guid on String
teemo.team(platform, tag, callback)
teemo.team.leagues(platform, guid, callback)
Below is a table of the platforms that RESTeemo supports. When polling the API, the shorthand version of a platform is necessary, but you can pass the full version to node-resteemo if you'd like and it will internally use the shorthand version.
- Updated lodash.isundefined to 2.2.x
- Updated lodash.isstring to 2.2.x
- Updated lodash.isnull to 2.2.x
- Updated lodash.isfunction to 2.2.x
View previous releases here.