This commit is contained in:
parent
37dcd67bdc
commit
3e3017f31a
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user