request only rankeds
Some checks are pending
ci / docker (push) Waiting to run

This commit is contained in:
Álvaro 2024-06-14 03:36:26 +02:00
parent 37dcd67bdc
commit 3e3017f31a
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
defmodule LoLAPI.MatchApi do defmodule LoLAPI.MatchApi do
require Logger require Logger
@match_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/%{matchid}" @match_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/%{matchid}"
@puuid_matches_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/by-puuid/%{puuid}/ids" @puuid_matches_base_endpoint "https://europe.api.riotgames.com/lol/match/v5/matches/by-puuid/%{puuid}/ids?queue=420"
@doc """ @doc """
Get match by id Get match by id

View File

@ -58,7 +58,7 @@ defmodule Scrapper.Processor.MatchProcessor do
"#{decoded_match.info.gameVersion}" "#{decoded_match.info.gameVersion}"
) )
queue_id -> _queue_id ->
Storage.MatchStorage.S3MatchStorage.store_match(match_id, raw_match, "matches") Storage.MatchStorage.S3MatchStorage.store_match(match_id, raw_match, "matches")
end end