First of all, I would like to say that I am pretty hesitent to post this API here since Nightbot offers an $(leagueoflegends) variable. However, I find that only having the rank of one summoner (without the League Points or the current promotion series) wasn’t enough. So I developped an API to pull different stats from the Riot API . I created a website to better explain the API and have the people adding the commands themselves with the commands generator. The code of the website/API is available on Github and I would be happy to improve the code and add new features! You can test all these commands in my Twitch channel if you want so see how they react before adding it into yours.
Features of the website/api
- Adding the commands directly into your Nightbot (needs to connect your Nighbot with the website)
- Customization of the response of any commands (needs to connect your Twitch account with the website and the commands needs to be on that channel, might look to modify it since it’s popular)
- Commands generator to create the code to copy and paste fast
- Possibility to use champion abbreviation rather than full name (kog will be the same as kog’maw)
- Statistics (we all love stats )
I won’t display each and every commands as they are available on the Commands list page.
Gold V (86 LP) Series: ✓ X -
Last game won with Gragas 5/4/11 (4 KDA with 51.6% kill participation) 1 double kill
- Tristana (93), 2. Lucian (30), 3. Gnar (24), 4. Caitlyn (23), 5. Corki (21)
67.7% [63/30]. KDA: 9.6/5.2/7.7 1 pentakill!
Champion level 6 with Tristana (94459 points - S+). Chest granted!
Overall: 51.8% Top 5 : 1. Tristana (67.7%), 2. Corki (61.9%), 3. Thresh (50%), 4. Sivir (50%), 5. Lucian (46.7%)
I hope you’ll like these commands and I would appreciate any suggestions