Questions tagged [riot-games-api]

A JSON API for retrieving game data for the popular computer game League of Legends.

A API for retrieving game data for the popular computer game League of Legends.

For more information, see the official homepage.

112 questions
4
votes
3 answers

Riot API How to get summoner profile icon image

I found out i can get Summoner Icon image using this url: https://ddragon.leagueoflegends.com/cdn/11.14.1/img/profileicon/934.png The basic form of this is: https://ddragon.leagueoflegends.com/cdn/{version}/img/profileicon/{profileIconId}.png i…
4
votes
2 answers

How to know if a live Featured Game(MATCHED_GAME) has ended in League Of Legends RIOT Api

I'm getting the gameList(List[FeaturedGameInfo]) from the /lol/spectator/v4/featured-games api. Now after querying matchv4 api at /lol/match/v4/matches/{matchId} with one of the live gameId from above gameList, no data is returned. { "status":…
Kumar Ashutosh
  • 1,121
  • 10
  • 33
2
votes
2 answers

How do I use Riot Games API with an API key?

I was trying to connect to the Riot Games API with the Python requests module, and it keeps giving me a 401 error. I added an API key, but it still says unauthorized. If anyone knows what is wrong with the code it would be appreciated. I have tried…
oolio
  • 25
  • 3
2
votes
1 answer

Get all runes with id and name from League of legends API

When performing requests to the riot API endpoint /lol/match/v4/matches/{matchId} the response contains rune data for each player in the match .e.g "perk0": 8005, "perk0Var1": 2107, "perk0Var2": 1319, "perk0Var3": 788, These are only the Id values…
Kenneth
  • 161
  • 2
  • 11
2
votes
1 answer

I need help converting a list to a pandas dataframe

I am trying to pull data from Riot Game's API and populate a dataframe for machine learning, but I am having difficulty transitioning the format of which the data is pulled to my dataframe. Each row in my dataframe represents a game played by one…
NickS
  • 31
  • 3
2
votes
2 answers

Append New Data to JSON

I'm struggling to append new data to a JSON. I simply want to call JSON data from an API, and put it into a JSON file under "matches". I am creating a blank JSON file containing the following and just going from there. { "matches": [ …
Solebay Sharp
  • 519
  • 7
  • 24
2
votes
0 answers

Riot API server callback

I am making website to organize tournaments in League of Legends game. I have problem with receiving data about completed games from automatic callback. The steps which we take: We register provider with…
alesIA
  • 21
  • 1
2
votes
0 answers

How to scrape Legue Of Legends summoner ranking data, with Portia?

Hi everyone. My thesis project is about e-sport behavior analytics. I have limited programming and data engineer skills. I have a list of summoner names (the participants of the study) I try to scrape their ranking data from pages like…
K0BA
  • 47
  • 2
  • 7
2
votes
1 answer

How do I get a the first value in a JSON array using Zapier?

I am no programmer or coder by any means. I'm just trying to use the Riot api to get some of my league of legends stats into zapier to use elsewhere. I can get the json data just fine it's just it returns 10 data points for every stat. I just…
2
votes
2 answers

Extract variable from Std Object

here is the output of a var_dump of my variable $result stdClass Object( [20365924] => stdClass Object( [id] => 20365924 [name] => Jack [profileIconId] => 916 [summonerLevel] => 30 [revisionDate] =>…
B.Kevin
  • 250
  • 3
  • 12
2
votes
2 answers

Retrieving a variable from within a function

I am attempting to pull information from the League of Legends API. To simplify what I am doing, I am attempting to pull information about a user and their previous matches. The problem that I run into is that when I parse a JSON request, it returns…
Zlkva
  • 39
  • 6
2
votes
2 answers

How to properly and easily assign data to variables from json?

I am mostly a self-taught programmer and recently I've been messing around with the League of Legends API which uses JSON which I haven't used before. This is part of my code which retrieves a player's ID: function RiotAPI(phrase) { ... this.request…
1
vote
1 answer

How does porofessor get data about the buffs?

I was thinking about coding a customized app similar to porofessor that looks at in game data and analyzes it. The main feature I am looking for is the buff timers that porofessor adds on your map. Does anyone know how they get real-time information…
vladpaun1
  • 13
  • 4
1
vote
1 answer

Where should i start in my Riot Api Project?

I want to create an application using the Riot API that runs whenever I specate a game of League of Legends and creates an interactive streaming overlay using the browser source. Which things in the Riot API should I read to get all the information…
Zamki
  • 11
  • 1
1
vote
0 answers

R plotting over custom image but image keeps resizing

I've been experimenting using riot's api and wanted to plot champion kills/death onto the map of the rift. But the map doesn't seem to fill the plot area so the points don't match the map. Below is the code I was using to make the plot and its…
majulito
  • 11
  • 1
1
2 3 4 5 6 7 8