Skip to content

Takes a champion ID as input, automatically searches for the corresponding champion data through a public League of Legends API and returns it.

Notifications You must be signed in to change notification settings

CoffeeeAtNight/LeagueChampionIDHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Takes a champion ID as input, automatically searches for the corresponding champion data through a public League of Legends API and returns it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published