Takes a champion ID as input, automatically searches for the corresponding champion data in a public League of Legends API and returns it as JSON. The returned data will always be up-to-date to the current patch. In case you find any issues or bugs, please let me know.
- npm
- node
- axios
import { leagueHelper } from './leagueChampionIdHelper.js';
//Get data of a specific champion
var example = leagueHelper.getChampionData("ex. 144")
👤 CoffeeAtNight
- Website: https://latenightcoffee.org
- Twitter: @CoffeeeAtNight
- Github: @CoffeeeAtNight
Give a ⭐️ if this project helped you!
Copyright © 2022 CoffeeAtNight.