API:2/characters/:id/crafting
From Guild Wars 2 Wiki
< API:2 | characters
Jump to navigationJump to search
/v2/characters/:id/crafting
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2015-05-22
- Scope
- account
characters - Optional
- none
This resource returns information about the crafting disciplines available to a character attached to a specific account.
Parameters
access_token
- (optional) If the API key is not specified in the request header, it can be specified here.
Response
crafting
(array) - An array containing an entry for each crafting discipline the character has unlockeddiscipline
(string) - The name of the discipline. Possible values:Armorsmith
Artificer
Chef
Huntsman
Jeweler
Leatherworker
Scribe
Tailor
Weaponsmith
rating
(integer) - The current crafting level for the given discipline and characteractive
(boolean -true
/false
) - Describes if the given discipline is currently active or not on the character.
Example
Request
https://api.guildwars2.com/v2/characters/<character name>/crafting Authorization: Bearer <API key> https://api.guildwars2.com/v2/characters/<character name>/crafting?access_token=<API key>
Response
{ "crafting": [ { "discipline": "Artificer", "rating": 500, "active": true }, { "discipline": "Huntsman", "rating": 12, "active": false }, { "discipline": "Jeweler", "rating": 136, "active": false }, { "discipline": "Tailor", "rating": 500, "active": true } ] }