0.1.4 • Published 10 years ago

js4lol v0.1.4

Weekly downloads
16
License
-
Repository
github
Last release
10 years ago

Js4LoL

##Installation

npm install js4lol

##How to use

// Import the library
var Js4LoL = require('./js4lol.js');

// Basic config
var config = {
	api_key: 'YOUR-API-KEY', 
	debug: true 
};

// Instantiate
var js4lol = new Js4LoL(config);

// Call a method with the necessary parameters
js4lol.getSummonerByName('lan', 'MicroIce', function(error, body) {
  if (body)
 	  console.log(body);
	else
	  console.log(error);
});

Click here to see all the methods.

##About

This was made with learning purposes. Partly inspired by the LoL API Wrapper by Alejandro Perezpayá. Feel free to use or modify this code in any way.

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago