API:2/pvp/amulets

From Guild Wars 2 Wiki
< API:2‎ | pvp
Jump to: navigation, search

/v2/pvp/amulets

HTTP method
GET
Format
json
API version
version 2
Release date
2016-03-24
Scope
none
Optional
none

This resource returns information about the PvP amulets that are in the game.

Endpoints

  • None - Request the list of all available amulet ids when the root endpoint (v2/pvp/amulets) has been accessed.
  • id - (Optional) Request the amulet for the specificed id when accessing the endpoint (v2/pvp/amulets/id). Cannot be used when specifying the id or ids parameters.

Parameters

  • lang – (Optional) Request localized information.
  • page - (Optional; integer)
  • page_size - (Optional; integer)
  • id - (Optional) Request the amulet for the specificed id. Cannot be used when specifying the id endpoint or ids parameter.
  • ids - (Optional; Comma Delimited List|all) Request an array of amulets for the specified ids or all amulets. Cannot be used when using the id endpoint or id parameter.

Response

For each requested amulet id, an object with the following properties is returned:

  • id (integer) (default/null value: 0) - The id of the amulet.
  • name (string) (default/null value: "") - The name of the amulet.
  • icon (string) (default/null value: "") - The icon uri for the amulet.
  • attributes (array of key/value pairs) (default/null value: {} empty array) - The list of stats provided by this PvP amulet. May include the following:


Example

https://api.guildwars2.com/v2/pvp/amulets

[
 4,
 5,
 7,
 ...,
 31,
 34,
 35
]

https://api.guildwars2.com/v2/pvp/amulets/7

{
 "id":7,
 "name":"Barbarian Amulet",
 "icon":"https://render.guildwars2.com/file/C1B81CDC163B21EE5824AD34B4E2640C5E340ACA/643283.png",
 "attributes":{
  "Vitality":1200,
  "Power":900,
  "Precision":900
 }
}

https://api.guildwars2.com/v2/pvp/amulets?id=14

{
 "id":14,
 "name":"Rampager Amulet",
 "icon":"https://render.guildwars2.com/file/E156072918919C4CDCA9C075D04CE365B13F724F/220655.png",
 "attributes":{
  "Precision":1200,
  "Power":900,
  "ConditionDamage":900
 }
}

https://api.guildwars2.com/v2/pvp/amulets?ids=22

[
 {
  "id":22,
  "name":"Sinister Amulet",
  "icon":"https://render.guildwars2.com/file/6504267032DB14B7507F34685409563C283F08C6/222394.png",
  "attributes":{
   "ConditionDamage":1200,
   "Power":900,
   "Precision":900
  }
 }
]

https://api.guildwars2.com/v2/pvp/amulets?ids=22,35

[
 {
  "id":22,
  "name":"Sinister Amulet",
  ...,
 },
 {
  "id":35,
  "name":"Destroyer's Amulet",
  ...,
 }
]