I hereby announce that we are making our project to communicate with the League of Legends Riot API open source. So, why might you use this over something else?
Still, it is not perfect.
Before you begin, you will need to have Node installed as well as Wrangler.
wrangler.toml
(see below)..env
file containing your RIOT_API_KEY
(get it from
https://developer.riotgames.com).pnpm run publish
command. Or, using your favorite package manager.wrangler.toml
name = "graphql-riot-api"
account_id = "$yourAccountId"
type = "webpack"
workers_dev = true
webpack_config = "./webpack.config.js"
.env
RIOT_API_KEY=RGAPI-12345-67890