Skip to main content

OwMapsService

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

MethodsDescription
get_ow_mapsList maps
get_ow_maps_ow_map_id_or_slugGet a single map by ID or by slug

get_ow_maps

List maps

  • HTTP Method: GET
  • Endpoint: /ow/maps

Parameters

NameTypeRequiredDescription
filterFilterOverOwMapsOptions to filter results. String fields are case sensitive
For more information on filtering, see docs.
rangeRangeOverOwMapsOptions 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.
searchSearchOverOwMapsOptions 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[OwMap]

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment
from pandascore_client.models import FilterOverOwMaps, RangeOverOwMaps, SearchOverOwMaps

sdk = PandascoreClient(
access_token="YOUR_ACCESS_TOKEN",
base_url=Environment.DEFAULT.value,
timeout=10000
)
filter=FilterOverOwMaps(
game_mode=[
"Assault"
],
id_=[
8
],
name=[
"fugiat"
],
slug=[
"uai7oxrjj5c"
]
)
range=RangeOverOwMaps(
game_mode=[
"Assault"
],
id_=[
6
],
name=[
"magna ess"
],
slug=[
"2"
]
)
sort=[
""
]
search=SearchOverOwMaps(
game_mode="Assault",
name="id fugiat t",
slug="7jd1r8oey"
)
page=1

result = sdk.ow_maps.get_ow_maps(
filter=filter,
range=range,
sort=sort,
search=search,
page=page,
per_page=50
)

print(result)

get_ow_maps_ow_map_id_or_slug

Get a single map by ID or by slug

  • HTTP Method: GET
  • Endpoint: /ow/maps/{ow_map_id_or_slug}

Parameters

NameTypeRequiredDescription
ow_map_id_or_slugOwMapIdOrSlugA map ID or slug

Return Type

OwMap

Example Usage Code Snippet

from pandascore_client import PandascoreClient, Environment

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

result = sdk.ow_maps.get_ow_maps_ow_map_id_or_slug(ow_map_id_or_slug=ow_map_id_or_slug)

print(result)

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →