Skip to content

Resource MuMemberResource

CrucifiedPain edited this page Jun 26, 2026 · 9 revisions

MuMemberResource (client.mu_member)

Endpoints: • muMember.getByMu

.get_by_mu()

Get all members and their activity statistics for a military unit.

Args: mu_id: The military unit ID.

Returns: A list of :class:~warera.models.MuMember objects.

Signature

await client.mumember.get_by_mu(mu_id: 'str') -> 'list[MuMember]'

Parameters

Name Type Default
mu_id str *Required*

Return Models

MuMember

Membership and activity stats for a user within a military unit.

Field Type Required Description
_id string Optional
__v integer Optional
mu string Optional The UUID of the Military Unit this user belongs to.
user string Optional The user.
totalDamagesCount integer Optional
monthlyDamagesCount integer Optional
weeklyDamagesCount integer Optional
totalHelpCount integer Optional
monthlyHelpCount integer Optional
weeklyHelpCount integer Optional
createdAt string Optional The timestamp when this record was created.
updatedAt string Optional The timestamp when this record was last modified.

.invalidate_cache()

Clear the SWR cache for all resources.

Signature

await client.mumember.invalidate_cache() -> 'None'

Clone this wiki locally