Integration with RIOT API. It is possible?


#1

Hi,

I am created League of Legends forum with Discourse. I wonder, can i use RIOT API with Discourse for champions and item icons?



(Sam Saffron) #2

Can you specify in detail, with screenshots what you are trying to achieve


#3

I am new to API usage. I am trying simple things. I want to integrate item list, item icons, item features in Discourse markdown editor. (When i write item name automaticly item icons created and when i hover icon features is must show.) I don’t know it is possible for me. Because i don’t know Ruby.

Just like that or that, but not only single page, integrated with markdown editor.

RIOT have API for like that. http://developer.riotgames.com


(Stephen) #4

You don’t need to integrate with the LOL API to get item tooltips. Several sites offer javascript which will turn item links into the type of tooltip you’re referring to. Put the javascript into the head of your site and item links will be converted automatically.

Be careful which one you go for though, third party javascript running in your page can do pretty much anything.

ZAM offer javascript for a number of their sites including WoWHead and DestinyDB but haven’t ported it across to LOLKing yet.

If there’s a particular site you trust that has tooltips enabled check their page source to see whose code they’re using.

LOLBuilder looks to offer one option - http://tooltip.lolbuilder.net/

As does Arcana Gaming League of Legends Items, Champions, Runes and Abilities Javascript Tooltip - League of Legends - Arcana Gaming


(Kane York) #5

Basically, you will want to implement a dialect that does the same thing as those scripts.


#6

LOLBuilder seems good. I will try customize that if it is possible. :smile:


(Ed Ceaser) #7

I’m working on this now, actually; a community I’m developing a forum for needs integration with Riot’s API.

It’s pretty rough right now, but its getting there. What sort of features were you looking for once the accounts are linked?

The plugin is here: GitHub - eaceaser/discourse-riot: Discourse plugin to link to Riot Games API if you want to follow along.


(system) #8

(Jeff Atwood) #9

Is this community still out there? I’m curious.