Wynncraft / WynncraftAPI

Official Wynncraft Public API (Documentation & Issue Tracker)
https://docs.wynncraft.com/
21 stars 10 forks source link

Request: Territory List API to include guild prefix #10

Open dukio opened 5 years ago

dukio commented 5 years ago

Would it be possible to include the Guild Prefix in the Territory List api?

API: https://api.wynncraft.com/public_api.php?action=territoryList

Current response:

{
  "territories": {
    "Astraulus' Tower": {
      "territory": "Astraulus' Tower",
      "guild": "Kingdom Foxes",
      "acquired": "2019-03-30 12:32:21",
      "attacker": null,
      "location": {
        "startX": 1102,
        "startY": -5016,
        "endX": 1250,
        "endY": -4916
      }
    }
}

With guild prefix:

{
  "territories": {
    "Astraulus' Tower": {
      "territory": "Astraulus' Tower",
      "guild": "Kingdom Foxes",
      "prefix": "Fox",
      "acquired": "2019-03-30 12:32:21",
      "attacker": null,
      "location": {
        "startX": 1102,
        "startY": -5016,
        "endX": 1250,
        "endY": -4916
      }
    }
}