Skip to content

Latest commit

 

History

History
108 lines (93 loc) · 4.04 KB

StarCraftBroodWarTeamsService.md

File metadata and controls

108 lines (93 loc) · 4.04 KB

StarCraftBroodWarTeamsService

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

Methods Description
get_starcraft_brood_war_teams List teams for the StarCraft Brood War videogame

get_starcraft_brood_war_teams

List teams for the StarCraft Brood War videogame

  • HTTP Method: GET
  • Endpoint: /starcraft-brood-war/teams

Parameters

Name Type Required Description
filter FilterOverStarcraftBroodWarTeams Options to filter results. String fields are case sensitive
For more information on filtering, see docs.
range RangeOverStarcraftBroodWarTeams 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 SearchOverStarcraftBroodWarTeams 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 FilterOverStarcraftBroodWarTeams, RangeOverStarcraftBroodWarTeams, SearchOverStarcraftBroodWarTeams

sdk = PandascoreClient(
    access_token="YOUR_ACCESS_TOKEN",
    base_url=Environment.DEFAULT.value,
    timeout=10000
)
filter=FilterOverStarcraftBroodWarTeams(
    acronym=[
        "sint co"
    ],
    id_=[
        8
    ],
    location=[
        "ut dolo"
    ],
    modified_at=[
        "iru"
    ],
    name=[
        "cillum e"
    ],
    slug=[
        "m"
    ],
    videogame_id=[
        1
    ]
)
range=RangeOverStarcraftBroodWarTeams(
    acronym=[
        "deserunt a"
    ],
    id_=[
        3
    ],
    location=[
        "sunt aut"
    ],
    modified_at=[
        "deserunt aute"
    ],
    name=[
        "labor"
    ],
    slug=[
        "qt3q1roio"
    ]
)
sort=[
    ""
]
search=SearchOverStarcraftBroodWarTeams(
    acronym="dolore fugia",
    location="dolore cillum",
    name="irure ven",
    slug="j"
)
page=1

result = sdk.star_craft_brood_war_teams.get_starcraft_brood_war_teams(
    filter=filter,
    range=range,
    sort=sort,
    search=search,
    page=page,
    per_page=50
)

print(result)