1.0.1 • Published 8 years ago

riot-api-wrapper v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Riot API Wrapper

This is a simple to use Node.js wrapper for League of Legends' REST API.

NPM

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);