gw2-api / issues

Issue tracker for the Guild Wars 2 API
https://discord.gg/zqeHCEg
16 stars 0 forks source link

`/v2/items`: Missing infusion slot upgrade paths #82

Open sliekens opened 8 months ago

sliekens commented 8 months ago

Current Behavior

I found some items that can be infused or attuned, but not every upgrade path is in the API.

For example: "Attuned Crystalline Band" (74440) can be infused to create "Attuned Crystalline Band (Infused)" (76024) but this upgrade path is missing.

https://api.guildwars2.com/v2/items?ids=74440,76024

Expected Behavior

The non-infused item should contain upgrades_into with the ID of the infused item:

{
    "name": "Attuned Crystalline Band",
    "id": 74440,
+    "upgrades_into": [
+        {
+            "upgrade": "Infusion",
+            "item_id": 76024
+        }
+    ]
}

And the infused item should contain upgrades_from with the ID of the source item:

{
    "name": "Attuned Crystalline Band (Infused)",
    "id": 76024,
    "upgrades_from": [
        {
            "upgrade": "Attunement",
            "item_id": 49402
        },
        {
            "upgrade": "Attunement",
            "item_id": 37096
        },
        {
            "upgrade": "Infusion",
            "item_id": 38024
        },
+        {
+            "upgrade": "Infusion",
+            "item_id": 74440
+        }
    ]
}

Steps To Reproduce

No response

Happening since

No response

Anything else?

No response