riot-api-wrapper
v1.0.1
Published
This is a Node.js wrapper module for League of Legends' REST API.
Downloads
2
Maintainers
Readme
Riot API Wrapper
This is a simple to use Node.js wrapper for League of Legends' REST API.
Documentation will be added soon. For now, this project is still a WIP.
Installation
npm install -g riot-api-wrapper
How to use
You will first need to import the module:
var RiotAPI = require('riot-api-wrapper');
Then instanciate the RiotAPI object and give it your Riot API key, using:
// key is a string that contains the api key
var api = new RiotAPI(key);