OwMapsService
A list of all methods in the OwMapsService
service. Click on the method name to view detailed information about that method.
Methods | Description |
---|---|
get_ow_maps | List maps |
get_ow_maps_ow_map_id_or_slug | Get a single map by ID or by slug |
get_ow_maps
List maps
- HTTP Method:
GET
- Endpoint:
/ow/maps
Parameters
Name | Type | Required | Description |
---|---|---|---|
filter | FilterOverOwMaps | ❌ | Options to filter results. String fields are case sensitive For more information on filtering, see docs. |
range | RangeOverOwMaps | ❌ | 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 | SearchOverOwMaps | ❌ | 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[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
Name | Type | Required | Description |
---|---|---|---|
ow_map_id_or_slug | OwMapIdOrSlug | ✅ | A 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