Closed Zyles closed 9 years ago
I've add an result_of
attribute to the item detail endpoint; http://www.gw2spidy.com/api/v0.9/json/item/36878
{
"result": {
"data_id": 36878,
"name": "Apothecary's Draconic Boots",
"rarity": 5,
"restriction_level": 80,
"img": "https://render.guildwars2.com/file/ABA5149ABEFE50D5F460E5CF6D50A81D09435091/61562.png",
"type_id": 0,
"sub_type_id": 5,
"price_last_changed": "2015-04-29 07:42:09 UTC",
"max_offer_unit_price": 5357,
"min_sale_unit_price": 10046,
"offer_availability": 82,
"sale_availability": 199,
"sale_price_change_last_hour": 0,
"offer_price_change_last_hour": 0,
"result_of": [
{
"recipe_id": 6547,
"name": "Apothecary's Draconic Boots"
}
]
}
}
If an item can be crafted it would be nice to have a reference ID to the recipe when calling:
/api/{version}/{format}/item/{dataId}
And it will return the recipe ID in the response.
I don't see how you can cross reference it right now without downloading the entire database? Please tell.