Skip to content

Latest commit

 

History

History
108 lines (93 loc) · 3.57 KB

File metadata and controls

108 lines (93 loc) · 3.57 KB

CodmwTeamsService

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

Methods Description
get_codmw_teams List teams for the CODMW videogame

get_codmw_teams

List teams for the CODMW videogame

  • HTTP Method: GET
  • Endpoint: /codmw/teams

Parameters

Name Type Required Description
filter FilterOverCodmwTeams Options to filter results. String fields are case sensitive
For more information on filtering, see docs.
range RangeOverCodmwTeams 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 SearchOverCodmwTeams 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[Team]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverCodmwTeams, RangeOverCodmwTeams, SearchOverCodmwTeams

sdk = PandascoreClient(
    access_token="YOUR_ACCESS_TOKEN",
    base_url=Environment.DEFAULT.value,
    timeout=10000
)
filter=FilterOverCodmwTeams(
    acronym=[
        "tempo"
    ],
    id_=[
        7
    ],
    location=[
        "nisi Excepteur"
    ],
    modified_at=[
        "veniam est"
    ],
    name=[
        "proiden"
    ],
    slug=[
        "ffzyrcp"
    ],
    videogame_id=[
        1
    ]
)
range=RangeOverCodmwTeams(
    acronym=[
        "fugiat "
    ],
    id_=[
        2
    ],
    location=[
        "consectetur i"
    ],
    modified_at=[
        "ullam"
    ],
    name=[
        "ut anim n"
    ],
    slug=[
        "ak"
    ]
)
sort=[
    ""
]
search=SearchOverCodmwTeams(
    acronym="proident",
    location="non ess",
    name="in ut con",
    slug="ap_"
)
page=1

result = sdk.codmw_teams.get_codmw_teams(
    filter=filter,
    range=range,
    sort=sort,
    search=search,
    page=page,
    per_page=50
)

print(result)