lol-node
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

LoLNode

RiotAPI Wrapper for NodeJS

Greenkeeper badge Build Status Scrutinizer Code Quality dependencies Status npm version 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

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

Package Sidebar

Install

npm i lol-node

Weekly Downloads

4

Version

0.1.4

License

MIT

Last publish

Collaborators

  • skarajic