PartialTeritories#

Note

This is a Partial Object which means it doesn’t contain regular data. You should threat it as a reference to a object rather than a normal one. See: Partial Objects for detailed information.

class corkus.objects.PartialTeritories#

This Partial object is returned as a teritories of Guild. API returns only numbers of teritories owned by a specific guild. You can use fetch() function which calls TerritoryEndpoint.list_all() and return detailed list of teritories owned by this guild.

property count#

Total count of teritories owned by this guild.

Return type:

int

async fetch(timeout=None)#

Fetch full Territory information from API.

Warning

This function is a API call. See: Partial Objects for detailed information.

Parameters:

timeout (Optional[int]) – Optionally override default timeout.

Return type:

List[Territory]