gw2-api / issues

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

`/v2/recipes`: Add `name` #52

Open darthmaim opened 1 year ago

darthmaim commented 1 year ago

Feature Description

Recipes in Guild Wars 2 have a name you can see in the crafting panel and when using recipe chat links. These names are currently not accessable in the API and there are no rules to generate them based on the output item.

Implementation

Example

{
  "id": 8841,
  "name": "Shifting Ineffable Insignia (Level 44)",
  "type": "Insignia",
  "output_item_id": 50363,
  "output_item_count": 1,
  "time_to_craft_ms": 1000,
  "disciplines": [
    "Leatherworker",
    "Armorsmith",
    "Tailor"
  ],
  "min_rating": 400,
  "flags": [
    "AutoLearned"
  ],
  "ingredients": [
    {
      "type": "Item",
      "id": 72194,
      "count": 1
    },
    {
      "type": "Item",
      "id": 24276,
      "count": 8
    },
    {
      "type": "Item",
      "id": 19721,
      "count": 3
    }
  ],
  "chat_link": "[&CYkiAAA=]"
}

Anything else?

Example recipe: [&CYkiAAA=].

image