-
-
Save tivac/59fbb6474fece53ad97b to your computer and use it in GitHub Desktop.
GW2 API v1 vs v2 for Item Details
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://api.guildwars2.com/v1/item_details.json?item_id=12138 | |
{ | |
"item_id": "12138", | |
"name": "Stick of Butter", | |
"description": "Ingredient", | |
"type": "CraftingMaterial", | |
"level": "0", | |
"rarity": "Basic", | |
"vendor_value": "1", | |
"icon_file_id": "63248", | |
"icon_file_signature": "CA45CEE2BA3BA040E7C294965CA3756FC3F33FD1", | |
"game_types": [ | |
"Activity", | |
"Dungeon", | |
"Pve", | |
"Wvw" | |
], | |
"flags": [ ], | |
"restrictions": [ ] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://api.guildwars2.com/v2/items/12138 | |
{ | |
"name": "Stick of Butter", | |
"description": "Ingredient", | |
"type": "CraftingMaterial", | |
"level": 0, | |
"rarity": "Basic", | |
"vendor_value": 1, | |
"game_types": [ | |
"Activity", | |
"Dungeon", | |
"Pve", | |
"Wvw" | |
], | |
"flags": [ ], | |
"restrictions": [ ], | |
"id": 12138, | |
"icon": "https://render.guildwars2.com/file/CA45CEE2BA3BA040E7C294965CA3756FC3F33FD1/63248.png" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://api.guildwars2.com/v1/item_details.json?item_id=49412 | |
{ | |
"item_id": "49412", | |
"name": "Lunaria, Circle of the Moon (Infused)", | |
"description": "", | |
"type": "Trinket", | |
"level": "80", | |
"rarity": "Ascended", | |
"vendor_value": "495", | |
"icon_file_id": "511819", | |
"icon_file_signature": "EFF8434DFE2B67026FA202091FD1F6ED2653E4A9", | |
"game_types": [ | |
"Activity", | |
"Dungeon", | |
"Pve", | |
"Wvw" | |
], | |
"flags": [ | |
"AccountBound", | |
"HideSuffix", | |
"NoSalvage", | |
"NotUpgradeable", | |
"AccountBindOnUse", | |
"Unique" | |
], | |
"restrictions": [ ], | |
"trinket": { | |
"type": "Ring", | |
"infusion_slots": [ | |
{ | |
"flags": [ | |
"Defense" | |
] | |
}, | |
{ | |
"flags": [ ] | |
} | |
], | |
"infix_upgrade": { | |
"buff": { | |
"skill_id": "15751", | |
"description": "+13 Condition Damage\n+13 Precision\n+13 Toughness\n+13 Power\n+13 Vitality\n+13 Healing Power\n+13 Ferocity\n+5 Agony Resistance" | |
}, | |
"attributes": [ | |
{ | |
"attribute": "Power", | |
"modifier": "33" | |
}, | |
{ | |
"attribute": "Precision", | |
"modifier": "33" | |
}, | |
{ | |
"attribute": "Toughness", | |
"modifier": "33" | |
}, | |
{ | |
"attribute": "Vitality", | |
"modifier": "33" | |
}, | |
{ | |
"attribute": "Healing", | |
"modifier": "33" | |
}, | |
{ | |
"attribute": "ConditionDamage", | |
"modifier": "33" | |
}, | |
{ | |
"attribute": "CritDamage", | |
"modifier": "33" | |
} | |
] | |
}, | |
"suffix_item_id": "", | |
"secondary_suffix_item_id": "" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://api.guildwars2.com/v2/items/49412 | |
{ | |
"name": "Lunaria, Circle of the Moon (Infused)", | |
"description": "", | |
"type": "Trinket", | |
"level": 80, | |
"rarity": "Ascended", | |
"vendor_value": 495, | |
"game_types": [ | |
"Activity", | |
"Dungeon", | |
"Pve", | |
"Wvw" | |
], | |
"flags": [ | |
"AccountBound", | |
"HideSuffix", | |
"NoSalvage", | |
"NotUpgradeable", | |
"AccountBindOnUse", | |
"Unique" | |
], | |
"restrictions": [ ], | |
"id": 49412, | |
"icon": "https://render.guildwars2.com/file/EFF8434DFE2B67026FA202091FD1F6ED2653E4A9/511819.png", | |
"details": { | |
"type": "Ring", | |
"infusion_slots": [ | |
{ | |
"flags": [ | |
"Defense" | |
] | |
}, | |
{ | |
"flags": [ ] | |
} | |
], | |
"infix_upgrade": { | |
"buff": { | |
"skill_id": 15751, | |
"description": "+13 Condition Damage\n+13 Precision\n+13 Toughness\n+13 Power\n+13 Vitality\n+13 Healing Power\n+13 Ferocity\n+5 Agony Resistance" | |
}, | |
"attributes": [ | |
{ | |
"attribute": "Power", | |
"modifier": 33 | |
}, | |
{ | |
"attribute": "Precision", | |
"modifier": 33 | |
}, | |
{ | |
"attribute": "Toughness", | |
"modifier": 33 | |
}, | |
{ | |
"attribute": "Vitality", | |
"modifier": 33 | |
}, | |
{ | |
"attribute": "Healing", | |
"modifier": 33 | |
}, | |
{ | |
"attribute": "ConditionDamage", | |
"modifier": 33 | |
}, | |
{ | |
"attribute": "CritDamage", | |
"modifier": 33 | |
} | |
] | |
}, | |
"secondary_suffix_item_id": "" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment