Skip to main content

ValorantGamesService

A list of all methods in the ValorantGamesService service. Click on the method name to view detailed information about that method.

MethodsDescription
get_valorant_games_valorant_game_idGet a single Valorant game by ID
get_valorant_games_valorant_game_id_eventsList events for a given Valorant game
get_valorant_games_valorant_game_id_roundsList rounds in a Valorant game
get_valorant_matches_match_id_or_slug_gamesList games for a given Valorant match

get_valorant_games_valorant_game_id

Get a single Valorant game by ID

  • HTTP Method: GET
  • Endpoint: /valorant/games/{valorant_game_id}

Parameters

NameTypeRequiredDescription
valorant_game_idintA Valorant game ID

Return Type

ValorantGame

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)

result = sdk.valorant_games.get_valorant_games_valorant_game_id(valorant_game_id=1)

print(result)

get_valorant_games_valorant_game_id_events

List events for a given Valorant game

  • HTTP Method: GET
  • Endpoint: /valorant/games/{valorant_game_id}/events

Parameters

NameTypeRequiredDescription
valorant_game_idintA Valorant game ID
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent to page[size]

Return Type

List[ValorantGameEvent]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
page=1

result = sdk.valorant_games.get_valorant_games_valorant_game_id_events(
valorant_game_id=9,
page=page,
per_page=50
)

print(result)

get_valorant_games_valorant_game_id_rounds

List rounds in a Valorant game

  • HTTP Method: GET
  • Endpoint: /valorant/games/{valorant_game_id}/rounds

Parameters

NameTypeRequiredDescription
valorant_game_idintA Valorant game ID
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent to page[size]

Return Type

List[ValorantFullRound]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
page=1

result = sdk.valorant_games.get_valorant_games_valorant_game_id_rounds(
valorant_game_id=2,
page=page,
per_page=50
)

print(result)

get_valorant_matches_match_id_or_slug_games

List games for a given Valorant match

  • HTTP Method: GET
  • Endpoint: /valorant/matches/{match_id_or_slug}/games

Parameters

NameTypeRequiredDescription
match_id_or_slugMatchIdOrSlugA match ID or slug
filterFilterOverValorantGamesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverValorantGamesOptions to select results within ranges
For more information on ranges, see docs.
sortList[any]Options to sort results
For more information on sorting, see docs.
searchSearchOverValorantGamesOptions to search results
For more information on searching, see docs.
pagePagePagination in the form of page=2 or page[size]=30&page[number]=2
per_pageintEquivalent to page[size]

Return Type

List[ValorantGame]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverValorantGames, RangeOverValorantGames, SearchOverValorantGames

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
match_id_or_slug=5
filter=FilterOverValorantGames(
begin_at=[
"in nisi"
],
complete=False,
detailed_stats=True,
end_at=[
"e"
],
finished=True,
forfeit=False,
id_=[
6
],
length=[
7
],
position=[
2
],
status=[
"finished"
]
)
range=RangeOverValorantGames(
begin_at=[
"au"
],
complete=[
False
],
detailed_stats=[
True
],
end_at=[
"nulla"
],
finished=[
True
],
forfeit=[
True
],
id_=[
5
],
length=[
10
],
position=[
10
],
status=[
"finished"
]
)
sort=[
""
]
search=SearchOverValorantGames(
status="finished"
)
page=1

result = sdk.valorant_games.get_valorant_matches_match_id_or_slug_games(
match_id_or_slug=match_id_or_slug,
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →