CodmwTournamentsService
A list of all methods in the CodmwTournamentsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_codmw_tournaments | List tournaments for the CODMW videogame |
get_codmw_tournaments_past | List past CODMW tournaments |
get_codmw_tournaments_running | List running CODMW tournaments |
get_codmw_tournaments_upcoming | List upcoming CODMW tournaments |
get_codmw_tournaments
List tournaments for the CODMW videogame
- HTTP Method:
GET
- Endpoint:
/codmw/tournaments
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCodmwShortTournaments | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCodmwShortTournaments | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverCodmwShortTournaments | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[ShortTournament]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCodmwShortTournaments, RangeOverCodmwShortTournaments, SearchOverCodmwShortTournaments
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCodmwShortTournaments(
begin_at=[
"ad tempor"
],
detailed_stats=True,
end_at=[
"Duis esse"
],
has_bracket=False,
id_=[
2
],
live_supported=False,
modified_at=[
"enim esse p"
],
name=[
"sit mollit"
],
prizepool=[
"labore offic"
],
serie_id=[
1
],
slug=[
"p_bnz1"
],
tier=[
"a"
],
videogame_title=[
5
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCodmwShortTournaments(
begin_at=[
"non ven"
],
detailed_stats=[
False
],
end_at=[
"dolor"
],
has_bracket=[
False
],
id_=[
8
],
modified_at=[
"nostrud labo"
],
name=[
"est nisi sun"
],
prizepool=[
"fugiat el"
],
serie_id=[
1
],
slug=[
"ghzvnc"
],
tier=[
"a"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCodmwShortTournaments(
name="ipsum ",
prizepool="dolore ea",
slug="1-543h88_",
tier="a",
winner_type="Player"
)
page=1
result = sdk.codmw_tournaments.get_codmw_tournaments(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
get_codmw_tournaments_past
List past CODMW tournaments
- HTTP Method:
GET
- Endpoint:
/codmw/tournaments/past
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCodmwShortTournaments | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCodmwShortTournaments | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverCodmwShortTournaments | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[ShortTournament]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCodmwShortTournaments, RangeOverCodmwShortTournaments, SearchOverCodmwShortTournaments
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCodmwShortTournaments(
begin_at=[
"ad tempor"
],
detailed_stats=True,
end_at=[
"Duis esse"
],
has_bracket=False,
id_=[
2
],
live_supported=False,
modified_at=[
"enim esse p"
],
name=[
"sit mollit"
],
prizepool=[
"labore offic"
],
serie_id=[
1
],
slug=[
"p_bnz1"
],
tier=[
"a"
],
videogame_title=[
5
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCodmwShortTournaments(
begin_at=[
"non ven"
],
detailed_stats=[
False
],
end_at=[
"dolor"
],
has_bracket=[
False
],
id_=[
8
],
modified_at=[
"nostrud labo"
],
name=[
"est nisi sun"
],
prizepool=[
"fugiat el"
],
serie_id=[
1
],
slug=[
"ghzvnc"
],
tier=[
"a"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCodmwShortTournaments(
name="ipsum ",
prizepool="dolore ea",
slug="1-543h88_",
tier="a",
winner_type="Player"
)
page=1
result = sdk.codmw_tournaments.get_codmw_tournaments_past(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
get_codmw_tournaments_running
List running CODMW tournaments
- HTTP Method:
GET
- Endpoint:
/codmw/tournaments/running
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCodmwShortTournaments | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCodmwShortTournaments | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverCodmwShortTournaments | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[ShortTournament]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCodmwShortTournaments, RangeOverCodmwShortTournaments, SearchOverCodmwShortTournaments
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCodmwShortTournaments(
begin_at=[
"ad tempor"
],
detailed_stats=True,
end_at=[
"Duis esse"
],
has_bracket=False,
id_=[
2
],
live_supported=False,
modified_at=[
"enim esse p"
],
name=[
"sit mollit"
],
prizepool=[
"labore offic"
],
serie_id=[
1
],
slug=[
"p_bnz1"
],
tier=[
"a"
],
videogame_title=[
5
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCodmwShortTournaments(
begin_at=[
"non ven"
],
detailed_stats=[
False
],
end_at=[
"dolor"
],
has_bracket=[
False
],
id_=[
8
],
modified_at=[
"nostrud labo"
],
name=[
"est nisi sun"
],
prizepool=[
"fugiat el"
],
serie_id=[
1
],
slug=[
"ghzvnc"
],
tier=[
"a"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCodmwShortTournaments(
name="ipsum ",
prizepool="dolore ea",
slug="1-543h88_",
tier="a",
winner_type="Player"
)
page=1
result = sdk.codmw_tournaments.get_codmw_tournaments_running(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)
print(result)
get_codmw_tournaments_upcoming
List upcoming CODMW tournaments
- HTTP Method:
GET
- Endpoint:
/codmw/tournaments/upcoming
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverCodmwShortTournaments | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverCodmwShortTournaments | ❌ | Options to select results within ranges For more information on ranges, see docs. |
sort | List[any] | ❌ | Options to sort results For more information on sorting, see docs. |
search | SearchOverCodmwShortTournaments | ❌ | Options to search results For more information on searching, see docs. |
page | Page | ❌ | Pagination in the form of page=2 or page[size]=30&page[number]=2 |
per_page | int | ❌ | Equivalent to page[size] |
Return Type
List[ShortTournament]
Example Usage Code Snippet
from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCodmwShortTournaments, RangeOverCodmwShortTournaments, SearchOverCodmwShortTournaments
sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverCodmwShortTournaments(
begin_at=[
"ad tempor"
],
detailed_stats=True,
end_at=[
"Duis esse"
],
has_bracket=False,
id_=[
2
],
live_supported=False,
modified_at=[
"enim esse p"
],
name=[
"sit mollit"
],
prizepool=[
"labore offic"
],
serie_id=[
1
],
slug=[
"p_bnz1"
],
tier=[
"a"
],
videogame_title=[
5
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
range=RangeOverCodmwShortTournaments(
begin_at=[
"non ven"
],
detailed_stats=[
False
],
end_at=[
"dolor"
],
has_bracket=[
False
],
id_=[
8
],
modified_at=[
"nostrud labo"
],
name=[
"est nisi sun"
],
prizepool=[
"fugiat el"
],
serie_id=[
1
],
slug=[
"ghzvnc"
],
tier=[
"a"
],
winner_id=[
7
],
winner_type=[
"Player"
]
)
sort=[
""
]
search=SearchOverCodmwShortTournaments(
name="ipsum ",
prizepool="dolore ea",
slug="1-543h88_",
tier="a",
winner_type="Player"
)
page=1
result = sdk.codmw_tournaments.get_codmw_tournaments_upcoming(
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