Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 901 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 901 Bytes

This is a LeagueChampionIDHelper

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.

Prerequisites

  • npm
  • node
  • axios

Usage

import { leagueHelper } from './leagueChampionIdHelper.js';

//Get data of a specific champion
var example = leagueHelper.getChampionData("ex. 144")

Author

👤 CoffeeAtNight

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 CoffeeAtNight.