Skip to main content

CounterStrikeMatchesService

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

MethodsDescription
get_csgo_matchesList matches for the Counter-Strike videogame
get_csgo_matches_pastList past Counter-Strike matches
get_csgo_matches_runningList running Counter-Strike matches
get_csgo_matches_upcomingList upcoming Counter-Strike matches
get_csgo_matches_match_id_or_slugGet a single Counter-Strike match by ID or slug

get_csgo_matches

List matches for the Counter-Strike videogame

  • HTTP Method: GET
  • Endpoint: /csgo/matches

Parameters

NameTypeRequiredDescription
filterFilterOverCsgoMatchesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCsgoMatchesOptions 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.
searchSearchOverCsgoMatchesOptions 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[Match]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCsgoMatches, RangeOverCsgoMatches, SearchOverCsgoMatches

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCsgoMatches(
begin_at=[
"incidi"
],
detailed_stats=True,
draw=True,
end_at=[
"exercita"
],
finished=True,
forfeit=False,
future=False,
id_=[
3
],
league_id=[
4
],
match_type=[
"all_games_played"
],
modified_at=[
"aliqua"
],
name=[
"aliquip eius"
],
not_started=True,
number_of_games=[
10
],
opponent_id=[
10
],
opponents_filled=True,
past=False,
running=False,
scheduled_at=[
"voluptate adipi"
],
serie_id=[
5
],
slug=[
"kid"
],
status=[
"canceled"
],
tournament_id=[
5
],
unscheduled=False,
videogame=[
1
],
videogame_title=[
4
],
videogame_version=[
"46404802.4461.3142"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCsgoMatches(
begin_at=[
"incididunt ut"
],
detailed_stats=[
False
],
draw=[
True
],
end_at=[
"in ex aute"
],
forfeit=[
False
],
id_=[
5
],
match_type=[
"all_games_played"
],
modified_at=[
"do"
],
name=[
"adipisici"
],
number_of_games=[
0
],
scheduled_at=[
"dolor Ut"
],
slug=[
"R37RucjN7s"
],
status=[
"canceled"
],
tournament_id=[
4
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCsgoMatches(
match_type="all_games_played",
name="aliqua anim",
slug="x6lAktgCkB",
status="canceled",
winner_type="Player"
)
page=1

result = sdk.counter_strike_matches.get_csgo_matches(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_csgo_matches_past

List past Counter-Strike matches

  • HTTP Method: GET
  • Endpoint: /csgo/matches/past

Parameters

NameTypeRequiredDescription
filterFilterOverCsgoMatchesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCsgoMatchesOptions 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.
searchSearchOverCsgoMatchesOptions 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[Match]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCsgoMatches, RangeOverCsgoMatches, SearchOverCsgoMatches

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCsgoMatches(
begin_at=[
"incidi"
],
detailed_stats=True,
draw=True,
end_at=[
"exercita"
],
finished=True,
forfeit=False,
future=False,
id_=[
3
],
league_id=[
4
],
match_type=[
"all_games_played"
],
modified_at=[
"aliqua"
],
name=[
"aliquip eius"
],
not_started=True,
number_of_games=[
10
],
opponent_id=[
10
],
opponents_filled=True,
past=False,
running=False,
scheduled_at=[
"voluptate adipi"
],
serie_id=[
5
],
slug=[
"kid"
],
status=[
"canceled"
],
tournament_id=[
5
],
unscheduled=False,
videogame=[
1
],
videogame_title=[
4
],
videogame_version=[
"46404802.4461.3142"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCsgoMatches(
begin_at=[
"incididunt ut"
],
detailed_stats=[
False
],
draw=[
True
],
end_at=[
"in ex aute"
],
forfeit=[
False
],
id_=[
5
],
match_type=[
"all_games_played"
],
modified_at=[
"do"
],
name=[
"adipisici"
],
number_of_games=[
0
],
scheduled_at=[
"dolor Ut"
],
slug=[
"R37RucjN7s"
],
status=[
"canceled"
],
tournament_id=[
4
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCsgoMatches(
match_type="all_games_played",
name="aliqua anim",
slug="x6lAktgCkB",
status="canceled",
winner_type="Player"
)
page=1

result = sdk.counter_strike_matches.get_csgo_matches_past(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_csgo_matches_running

List running Counter-Strike matches

  • HTTP Method: GET
  • Endpoint: /csgo/matches/running

Parameters

NameTypeRequiredDescription
filterFilterOverCsgoMatchesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCsgoMatchesOptions 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.
searchSearchOverCsgoMatchesOptions 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[Match]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCsgoMatches, RangeOverCsgoMatches, SearchOverCsgoMatches

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCsgoMatches(
begin_at=[
"incidi"
],
detailed_stats=True,
draw=True,
end_at=[
"exercita"
],
finished=True,
forfeit=False,
future=False,
id_=[
3
],
league_id=[
4
],
match_type=[
"all_games_played"
],
modified_at=[
"aliqua"
],
name=[
"aliquip eius"
],
not_started=True,
number_of_games=[
10
],
opponent_id=[
10
],
opponents_filled=True,
past=False,
running=False,
scheduled_at=[
"voluptate adipi"
],
serie_id=[
5
],
slug=[
"kid"
],
status=[
"canceled"
],
tournament_id=[
5
],
unscheduled=False,
videogame=[
1
],
videogame_title=[
4
],
videogame_version=[
"46404802.4461.3142"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCsgoMatches(
begin_at=[
"incididunt ut"
],
detailed_stats=[
False
],
draw=[
True
],
end_at=[
"in ex aute"
],
forfeit=[
False
],
id_=[
5
],
match_type=[
"all_games_played"
],
modified_at=[
"do"
],
name=[
"adipisici"
],
number_of_games=[
0
],
scheduled_at=[
"dolor Ut"
],
slug=[
"R37RucjN7s"
],
status=[
"canceled"
],
tournament_id=[
4
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCsgoMatches(
match_type="all_games_played",
name="aliqua anim",
slug="x6lAktgCkB",
status="canceled",
winner_type="Player"
)
page=1

result = sdk.counter_strike_matches.get_csgo_matches_running(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_csgo_matches_upcoming

List upcoming Counter-Strike matches

  • HTTP Method: GET
  • Endpoint: /csgo/matches/upcoming

Parameters

NameTypeRequiredDescription
filterFilterOverCsgoMatchesOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverCsgoMatchesOptions 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.
searchSearchOverCsgoMatchesOptions 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[Match]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCsgoMatches, RangeOverCsgoMatches, SearchOverCsgoMatches

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCsgoMatches(
begin_at=[
"incidi"
],
detailed_stats=True,
draw=True,
end_at=[
"exercita"
],
finished=True,
forfeit=False,
future=False,
id_=[
3
],
league_id=[
4
],
match_type=[
"all_games_played"
],
modified_at=[
"aliqua"
],
name=[
"aliquip eius"
],
not_started=True,
number_of_games=[
10
],
opponent_id=[
10
],
opponents_filled=True,
past=False,
running=False,
scheduled_at=[
"voluptate adipi"
],
serie_id=[
5
],
slug=[
"kid"
],
status=[
"canceled"
],
tournament_id=[
5
],
unscheduled=False,
videogame=[
1
],
videogame_title=[
4
],
videogame_version=[
"46404802.4461.3142"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCsgoMatches(
begin_at=[
"incididunt ut"
],
detailed_stats=[
False
],
draw=[
True
],
end_at=[
"in ex aute"
],
forfeit=[
False
],
id_=[
5
],
match_type=[
"all_games_played"
],
modified_at=[
"do"
],
name=[
"adipisici"
],
number_of_games=[
0
],
scheduled_at=[
"dolor Ut"
],
slug=[
"R37RucjN7s"
],
status=[
"canceled"
],
tournament_id=[
4
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCsgoMatches(
match_type="all_games_played",
name="aliqua anim",
slug="x6lAktgCkB",
status="canceled",
winner_type="Player"
)
page=1

result = sdk.counter_strike_matches.get_csgo_matches_upcoming(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_csgo_matches_match_id_or_slug

Get a single Counter-Strike match by ID or slug

  • HTTP Method: GET
  • Endpoint: /csgo/matches/{match_id_or_slug}

Parameters

NameTypeRequiredDescription
match_id_or_slugMatchIdOrSlugA match ID or slug

Return Type

CsgoMatch

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

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

result = sdk.counter_strike_matches.get_csgo_matches_match_id_or_slug(match_id_or_slug=match_id_or_slug)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →