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
1
vote
3 answers

Javascript replace plus sign with space (but not %20)

I am trying to use the League of Legends API and request data on a certain user. I use the line var user = getUrlVars()["username"].replace("+", " "); to store the username. However, when I do the XMLHttpRequest with that username, it'll put…
ghadams
  • 41
  • 6
1
vote
1 answer

Fetch summoners by ranking in Riot Api

I just started with the Riot API, and I am stuck in getting summoners by their ranking. I used the getChampion() function but it retrieves data different from other sites which are already running. I use it like…
Tariq
  • 218
  • 2
  • 13
1
vote
1 answer

Get ARAM match history with League of Legends API

Using the League of Legends API, how can I list of all recent games, including ARAM? This method says it will return match history: https://developer.riotgames.com/api/methods#!/873/3054 But when I test it with my summoner ID (32984235), I get an…
Don P
  • 60,113
  • 114
  • 300
  • 432
1
vote
1 answer

Getting a 401 (Unauthorized) while using Java to retrieve Riot API information

I'm experimenting with the Riot Games API. I know for sure that my URL is fine, my API key that I have to include is also fine; there is no reason that my request should return a 401. At first I thought it had to do with Eclipse, but putting the API…
bagochips44
  • 13
  • 1
  • 5
0
votes
1 answer

Get all augments id and name from League of legends API

Whats the endpoint for latest game Arena "PlayerAugment1": 71, "PlayerAugment2": 46, "PlayerAugment3": 0, "PlayerAugment4": 0, "PlayerSubteamId": 1, Want endpoint like https://ddragon.leagueoflegends.com/cdn/13.16.1/data/en_US/champion.json i've…
yagyazici
  • 3
  • 2
0
votes
1 answer

Riot API deserialization not saving in razorpages C#

I am trying to use RIOT API to read Summoners info, but I got stuck right after the deserialization. When I am trying to save the JSON properties into an object, it just doesn't save any of the properties. model: public class LOLSummoner { …
Drapys
  • 52
  • 8
0
votes
0 answers

Best way to get SSID cookie from user through a discord bot

I am currently working on a discord bot that retrieves stats from the Riot games Valorant API, and for certain API access, I need their SSID cookie. One way I can obtain the cookie is through a Riot endpoint, but I need the user's username and…
Chan Kim
  • 159
  • 8
0
votes
1 answer

Deserialize riot champion api in c#

I am trying deserialize riot champion API http://ddragon.leagueoflegends.com/cdn/12.23.1/data/en_US/champion.json but I am still getting null in my championDTO... Please help me... //this is in main page and Constants.chamAPI is the link above with…
Sean Moon
  • 1
  • 3
0
votes
0 answers

How to get requests coming out of Riot/League client

Fiddler doesn't show outgoing API requests. Using IFEO debugger shows localhost requests that are not usefull for me, I need actual domains. Someone told me that client ignores windows proxy and i need application proxy but client has protection…
0
votes
1 answer

Why Node js app stops randomly at certain external api call for one minute and then moves on?

I have an fastify server that uses riot external api and everything was working perfectly, until few days ago (I wasn't even trouching the code, all I did were some fixes to features completely unrelated to those causing problems, few days before…
0
votes
0 answers

Fetching League of Legends match data by Incrementing matchID by 1: seemingly spaghetti code works but organized code doesn't?

This is sphagetti code I wrote to brute-force match ID's by increments of 1 to call various endpoints from Riot's server. It has since worked for 12 hours and has written 14,050 lines without errors (before manual termination) import pandas as…
0
votes
1 answer

Having trouble saving a list of match data from riot api to a state array

Trying to create a small op.gg like app. Basically what im trying to do is to find a way of grabbing data from each match and being able to display it. I was able to grab that data and print it to the console but cannot find a way to store into a…
Manny
  • 25
  • 4
0
votes
1 answer

KeyError with Riot API Matchv5 When Trying To Pull Data

I'm trying to pull a list of team and player stats from match IDs. Everything looks fine to me but when I run my "for loops" to call the functions for pulling the stats I want, it just prints the error from my try/except block. I'm still pretty new…
DharTyr
  • 1
  • 1
0
votes
2 answers

Is it possible to Fetch Real-time data using Riot Valorant Api?

I am making an application that shows real-time status for a Valorant game. like players alive, the type of weapons each play has, time remaining, etc. Is it possible to use Riot Valorant API to do this for live matches or for previously played…
tenoob
  • 21
  • 4
0
votes
1 answer

How can I get most chosen League of Legends rune for specific champion with riot api?

I made research but I couldn't find any way to get most popular rune for specific champion. There are many rune websites that do this but I don't know whether they use their own rune pages or they use api. So I need a way to get most popular rune…
Arda Yılmaz
  • 149
  • 1
  • 9