@jlenon7/zedjs
Riot API Library for NodeJS
Last updated 17 days ago by jlenon7 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @jlenon7/zedjs 
SYNC missed versions from official npm registry.

First lib

⚔ ZedJS ????

GitHub language count Repository size GitHub last commit Repository issues License

???? Technology   |    ???? Project   |    ⏭ Tutorial   |    ⏯️ Examples   |    ???? How to contribute   |    ???? License

???? Technology

This project was developed with the following technologies:

???? Project

Fetch all the Riot API with ZedJS lib!

⏭ Tutorial

Install

npm install @jlenon7/ZedJS / yarn add @jlenon7/ZedJS

.env

RIOT_API_KEY=YOUR_API_KEY_ON_.ENV

League of Legends:

import { LolApi, Constants } from '@jlenon7/zedjs'

const api = new LolApi()

export async function summonerByNameExample () {
  return await api.Lol.Summoner.getByName('iLenon7', Constants.Regions.BRAZIL)
}

Teamfight Tatics:

import { TftApi, Constants } from '@jlenon7/zedjs'

const api = new TftApi()

export async function matchListTft () {
  const {
    response: {
      puuid
    }
  } = api.Summoner.getByName('iLenon7', Constants.Regions.BRAZIL)
  return api.Match.list(puuid, Constants.TftRegions.TftRegions.AMERICAS)
}

⏯️ Examples

You can find the documentation here;

And more example on how to use this lib here:


???? How to contribute

  • Fork this repository;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit your changes: git commit -m 'feat: My new feature';
  • Push to your branch: git push origin my-feature.

After the merge of your pull request is done, you can delete your branch.

???? License

This project is under the MIT license. See the LICENSE for more details.


Made with ???? by jlenon7 :wave:

Current Tags

  • 1.0.9                                ...           latest (17 days ago)

9 Versions

  • 1.0.9                                ...           17 days ago
  • 1.0.8                                ...           17 days ago
  • 1.0.7                                ...           17 days ago
  • 1.0.6                                ...           17 days ago
  • 1.0.5                                ...           21 days ago
  • 1.0.3                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 9
Last Month 73
Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |