0.1.4 • Published 7 years ago
lol-node v0.1.4
LoLNode
RiotAPI Wrapper for NodeJS
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