Documentation
Get the account details for your own account
Return
Parameter | Type | Versions | Description |
---|---|---|---|
200 |
|||
id | integer | * | |
string | * | player/account e-mail address | |
name | string | * | player display name |
registered | DateTime | * | when the account was registered |
last_login | DateTime | * | when the account was last accessed (null if never) |
karma[] | array of objects (Karma) | * | karma |
karma[][id] | integer | * | |
karma[][type] | string | * | type or identifier string (one of 'gather', 'farm', 'build', ) |
achievements | array | * | which achievements we already have |
families[] | array of objects (Family) | * | families controlled by this player |
families[][id] | integer | * | |
families[][name] | string | * | family name |
families[][ready] | boolean | * | ready for next turn (i.e. all actions set)? |
families[][village] | object (Village) | * | village the family lives in |
families[][village][id] | integer | * | |
families[][village][name] | string | * | village name |
families[][village][pvp] | boolean | * | is PvP (attacking buildings) enabled? |
families[][village][land] | boolean | * | start with ground or not (just hut) ? |
families[][village][day] | integer | * | current day in the village |
families[][village][season] | integer | * | current season (0 = summer, 1 = autum, 2 = winter) |
families[][village][running] | boolean | * | is the game running? if not, day == 0 means it is not started, day > 0 means it is finished |
families[][village][hours] | integer | * | how many hours until a turn is forced even if not all players issued orders |
families[][wiped] | integer | * | on which day was the family wiped out? (null if they are still alive) |
coins | integer | * | coins (silver coins - 12 silver = 1 gold) |
score | integer | * | accumulated total score |
games | integer | * | total number of games completed |
highscore | integer | * | highest score in a single game |
longest | integer | * | longest survival |