Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coffeeeatnight/leaguechampionidhelper

Takes a champion ID as input, automatically searches for the corresponding champion data through a public League of Legends API and returns it.
https://github.com/coffeeeatnight/leaguechampionidhelper

champion-list champions-league league-api league-of-legends league-of-legends-api leagueoflegends

Last synced: 18 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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

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

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

## Author

👤 **CoffeeAtNight**

* Website: https://latenightcoffee.org
* Twitter: [@CoffeeeAtNight](https://twitter.com/CoffeeeAtNight)
* Github: [@CoffeeeAtNight](https://github.com/CoffeeeAtNight)

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2022 [CoffeeAtNight](https://github.com/CoffeeeAtNight).