User:Medyro/Sandbox/2
From Guild Wars 2 Wiki
< User:Medyro | Sandbox
Jump to navigationJump to search
v2/account[edit]
Request
https://api.guildwars2.com/v2/account?access_token=<API key>
or
https://api.guildwars2.com/v2/account Authorization: Bearer <API key>
Response
{ "id": "C19467C6-F5AD-E211-8756-78E7D1936222", "name": "Account.1234", "age": 22911780, "world": 1004, "guilds": [ "116E0C0E-0035-44A9-BB22-4AE3E23127E5", "5AE2FE0C-79B2-4AA9-8A03-80CBE3A3740D", "A0F09951-FBA2-492E-8888-C449C217ECAD", "8977C915-D948-E511-8D0D-AC162DAE8ACD", "032AAA16-749B-E311-A32A-E4115BDFA895" ], "guild_leader": [ "032AAA16-749B-E311-A32A-E4115BDFA895" ], "created": "2013-04-25T22:09:00Z", "access": [ "GuildWars2", "HeartOfThorns", "PathOfFire" ], "commander": true, "fractal_level": 100, "daily_ap": 7659, "monthly_ap": 1129, "wvw_rank": 514 }
Request
https://api.guildwars2.com/v2/account?access_token=<API key>&v=2019-02-21T00:00:00.000Z
or
https://api.guildwars2.com/v2/account Authorization: Bearer <API key> X-Schema-Version: 2019-02-21T00:00:00.000Z
Response
{ "id": "C19467C6-F5AD-E211-8756-78E7D1936222", "name": "Account.1234", "age": 22911780, "last_modified": "2019-12-27T01:29:00Z", "world": 1004, "guilds": [ "116E0C0E-0035-44A9-BB22-4AE3E23127E5", "5AE2FE0C-79B2-4AA9-8A03-80CBE3A3740D", "A0F09951-FBA2-492E-8888-C449C217ECAD", "8977C915-D948-E511-8D0D-AC162DAE8ACD", "032AAA16-749B-E311-A32A-E4115BDFA895" ], "guild_leader": [ "032AAA16-749B-E311-A32A-E4115BDFA895" ], "created": "2013-04-25T22:09:00Z", "access": [ "GuildWars2", "HeartOfThorns", "PathOfFire" ], "commander": true, "fractal_level": 100, "daily_ap": 7659, "monthly_ap": 1129, "wvw_rank": 514 }