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
0 answers

cant get any matches from before 1.1.2021

I am trying to get that data for my last 500 games. However the maximum amount of games I seem to be able to get is 266. The last game in that list I played on January 1st this year. I also tried it with some of my friends accounts and with them its…
hemmoleg
  • 125
  • 1
  • 8
0
votes
1 answer

python riotwatcher bad request for url

I'm trying to access to the matchlist of a player from his puuid, but when i execute my code, i get an error... Why is this error happening? I have the right RiotApiKey, and the right player_puuid because when i execute the request from…
Romain
  • 3
  • 3
0
votes
2 answers

Using Riot games api to retrieve data during champion select

I am trying to build a small third-party software, for me and my friends, similar to op.gg or blitz.gg I have been exploring riot games API for a few hours now; however, I can not seem to find a get request to retrieve my teammates' names during…
Mohamed Yasser
  • 641
  • 7
  • 17
0
votes
0 answers

Riot API - How can I have summoners roles on a current game

I'm currently developing a live game analysis system similar to op.gg, u.gg or porofessor.gg and I'm not able to get the summoners roles (individualPosition) with the SUMMONER_V4 endpoint. This infos can be retrieved from MATCH_V4 and MATCH_V5 but…
TheSmartMonkey
  • 857
  • 1
  • 7
  • 23
0
votes
1 answer

Stack Overflow error when grabbing data from Firebase in Flutter

I'm trying to grab data from firebase (users collection -> uid document-> Summoner Info collection -> id document -> summonerName field) and display the summonerName's rank. Below is the screen that is causing the error: import…
0
votes
2 answers

Retrieve LIfetime Match Count on Riot API

Anyone know how I can retrieve the total number of matches, by match type (queue) for a specific summoner? Some sites like wol.gg claim they can calculate your lifetime match history, but I don't see how the Riot API supports that with API request…
unifiedac
  • 129
  • 5
0
votes
1 answer

Where to find ‘Spell Id’ list in Riot API?

I am working with Python and Riot APIs, and I have a problem. When I get match data with matchId, I get json for result. Then inside participants, I get spell data like this: ”spell1Id”: 14, “spell2Id”: 4, ... But I can’t find list or dictionary…
Superjay
  • 447
  • 1
  • 7
  • 25
0
votes
0 answers

Get RIOT API data from proxy server with React

I'm currently working on a personal project where I wanna display all the skins from Valorant (Riot games FPS). So I'm building a React web app and a nodejs backend proxy server to request skins' data from RIOT API (…
Mvrs
  • 13
  • 3
0
votes
1 answer

using Riot games API with JS and fail to load response data

I have tried to use Riot games API, the below code has returned 'Status Code: 200'and seems like ok and then I got two errors as below. Access to fetch at…
Daniel Wang
  • 57
  • 1
  • 5
0
votes
2 answers

Preparing data for state out of big dataset from API

I couldn't find the answer to this question. Not sure if this is just obvious and I'm overthinking or I tried asking the wrong question. Basically, I'm trying to build an app with React (first project) where I get League of Legends match history of…
smatysiak
  • 171
  • 8
0
votes
3 answers

Spectate league of legends game and retrive data

I want to code a script to retrieve data from league of legends game while spectating. I want to open the league of legends client, join a game as a spectator, then run the script, and the script collects all the game data, champ damage, gold etc…
0
votes
0 answers

Not sure why my program isn't working? (storing API data to mySQL)

So I have been working on an API app using Riot's API. And I need to store massive amounts of API endpoint data into a SQL DB so I can pull stats from the DB. I have tested just about everything I can, no spelling errors, no connection errors, but…
0
votes
1 answer

Riot API - Where can I pull Profile Pictures from? Python

I have a key and it works, I can pull information from the api, and I want to know where exactly do I go to pull a profile picture from so I can post it in a discord message through a bot.
MagicMarker
  • 35
  • 1
  • 4
0
votes
1 answer

Key Error Running Python Script (Using Atom)

I have never used python before. I'm following a short guide on how to use an API with Python. I'm using Atom text editor plus the Hydrogen module to run said code. I am getting KeyError: '203' when I run the following segment. champ_dict = {} for…
Solebay Sharp
  • 519
  • 7
  • 24
0
votes
1 answer

Get request data from a promise (RIOT API)

I have a request made with "request" from NodeJs, and I want to get the data with a promise. All good because the console shows me the information that I am requested. The problem is when I call the promise function, and the console shows me this.…