🚀 Technology | 💻 Project | ⏭ Tutorial | ⏯️ Examples | 🤔 How to contribute | 📝 License
This project was developed with the following technologies:
Fetch all the Riot API with ZedJS lib!
npm install @dale-gg/ZedJS / yarn add @dale-gg/ZedJSRIOT_API_KEY=YOUR_API_KEY_ON_.ENVLeague of Legends:
import { LolApi, Constants } from '@dale-gg/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 '@dale-gg/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)
}You can find the documentation here;
And more example on how to use this lib here:
- 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.
https://github.com/Dale-gg/ZedJS
https://github.com/Dale-gg/ZedJS
Made with 🖤 by Galakticos Team 👋
