0.1.4 • Published 7 years ago

lol-node v0.1.4

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

LoLNode

RiotAPI Wrapper for NodeJS

Greenkeeper badge Build Status Scrutinizer Code Quality dependencies Status npm version npm.io MIT Licence Open Source Love TypeScript

forthebadge

WARNING: THIS WRAPPER IS STILL IN ALPHA. MAJORITY OF FEATURES ARE STILL MISSING.

Feel free to mess around though. Contribution is always welcome!

What is it?

LoLNode is a Promise-based wrapper for the League of Legends API (RiotAPI) developed for NodeJS written in TypeScript.

It contains it's own rate-limiter, cachesystem, methods processing multiple calls and methods filtering out specific data.

Get Started

install the wrapper by entering: npm install --save lol-node

proceed by importing the wrapper and creating the LoLNode object.

/** import wrapper from package */
import { LoLNode } from 'lol-node'


/** Create Wrapper Object */
const lolNode = new LoLNode("YOUR_API_KEY")

For the documentation click here

Todo

  • npm.io implement Mastery Object
  • npm.io implement Summoner Object
  • npm.io implement Icon Object
  • npm.io implement Cache system
  • npm.io implement Rate Limiter
  • npm.io implement remaining objects
  • npm.io test failed API Calls & implement error handler