-
Notifications
You must be signed in to change notification settings - Fork 2
Resource MuMemberResource
CrucifiedPain edited this page Jun 26, 2026
·
9 revisions
Endpoints: • muMember.getByMu
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.
await client.mumember.get_by_mu(mu_id: 'str') -> 'list[MuMember]'| Name | Type | Default |
|---|---|---|
mu_id |
str |
*Required* |
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. |
Clear the SWR cache for all resources.
await client.mumember.invalidate_cache() -> 'None'- action_log
- alliance
- article
- battle
- battle_loot_summary
- battle_order
- battle_ranking
- company
- country
- donation
- election
- event
- game_config
- game_stat
- government
- inventory
- item_trading
- mercenary_contract_auction
- mu
- mu_member
- party
- ranking
- region
- round
- search
- tournament
- transaction
- upgrade
- user
- work
- work_offer
- worker