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
0
votes
1 answer

Riot http api call .NET MVC

WebClient client = new WebClient(); string json_response = client.DownloadString("https://tr.api.pvp.net/api/lol/tr/v1.4/summoner/by-name/SUMMONERNAME?api_key=KEY"); dynamic deserialized_response =…
0
votes
0 answers

How to get full data of every champions in a single request riot games?

I am using API of riots game. I need to list all the champions and there matches and some other records related to it. This is the code I will get the $championInfo by sending first request to get all champions foreach($championsInfo as $key =>…
0
votes
1 answer

Riot API, Universal windows APP: Unexpected character encountered while parsing value: h. Path '', line 0, position 0

I am trying to do a proof of concept for a windows universal app, calling and displaying Riot API data. id like to enter a name, click submit then results displayed below. **Issues:**Unexpected character encountered while parsing value: h. Path '',…
0
votes
1 answer

How can I get in game player ELO with the Riot Games API without reaching the API limit?

I have a question about the RiotGames API. I have an API Token from Riot Games and its limited to 10 Requests per second. However, when I want to read in game info with player Elo + Divisions, I need to do another request. With the in game info I…
Justin G.
  • 11
  • 7
0
votes
2 answers

(Riot-API) Grabbing id only from summoner (by-name) api call using angularJS

I'm using angularjs to retrieve summoner info but only a specific field (e.g. summoner name only, id only). I'm trying to check using console.log() if I'm getting the correct results. However, I keep getting this on the console screen: Error:…
Arrivedacci
  • 89
  • 2
  • 14
0
votes
1 answer

Riot LOL api static ddragon JSON

I got a problem. In static LOL json I got a list of champions and everything about them. I would like to fill the {{ f[number] }} values. I have no idea how to do it, how to calculate this value or something. You can see it there:…
Pavvi
  • 73
  • 11
0
votes
2 answers

Bootstrap grid breaks (images with different height)

I'm currently playing around with the Riot Games API, I'm using bootstrap to manage the grid of "Champions" these images are loaded from Riot's imagebase but some (4-5) are 1px lower than the rest. This breaks the grid, and since the images change…
0
votes
0 answers

Better ways to make a table (htmlservice?)

I've created my first web app (it's now kinda a web page) with the google script api. http://bit.do/WhoKilledWho From this experience I thought "wow getting the data is easy". urlFetchApp.fetch() Collating the data was not so easy, but not too bad.…
Reenen
  • 128
  • 9
-1
votes
1 answer

Collect results from all professional competitive League Of Legends games

I am looking for a method to bulk collect all results from professional competitive League of Legends games. I am unsure where riot keeps this data and/or the proper APIs to use to recover it. Riot's docs on data collect suggest I can just start…
Noah
  • 1,647
  • 1
  • 9
  • 18
-1
votes
1 answer

Get data from riot API (noob version)

I would like to be able to get for every ranked games between Date1 and Date2 in Regioneuw -the team1 : 5 champs names and position and team2 5 champs names and position -team1_win : TRUE or FALSE team2_win : TRUE or FALSE I have never worked with…
fatneet
  • 11
-1
votes
1 answer

modifying an element in a 2D array for discord.py

I'm making a discord bot so that I can make tournaments for League 5v5. Here is the command I made for making the teams: rows, cols = 5, 2 teamArr = [["Empty" for x in range(rows)] for y in range(cols)] teamNum = "" playerName = "" lane =…
g1cs
  • 1
  • 1
-1
votes
1 answer

How do you extract a large dataset of League of Legends game history?

For a personal research project, I will need a large dataset of League of Legends game histories of a large number of players (at least the results of 20 games for about 1000 players). I first looked at the Riot Games API. I asked for a personal key…
Poco
  • 9
  • 3
-1
votes
1 answer

How to call an api and stay inside the rate limit (react javascript)

I am attempting to use the riot-api to build statistics pages for different players. The algorithm works after a specific player is identified, then an api call will attempt to fetch about 15 games. I then want to iterate through this list of 15…
Dan
  • 1
  • 2
-1
votes
1 answer

TypeError: list indices must be inegers or slices, not str (Riot Games Python API)

I have tried many potential solutions offered on the site and across google but none have given me any success. I'm trying to pull a specific item from a list following a request to Riot Games API. My code is: lol_watcher =…
architect
  • 3
  • 1
-1
votes
1 answer

JSON from (RIOT) API Formatted Incorrectly

I am importing JSON data into Python from an API and ran into the following decode error: JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1) Looking at online examples its immediately clear my JSON data has…
Solebay Sharp
  • 519
  • 7
  • 24