Krylik / EveTimezone

A utility to visualize the active timezone of an entity in Eve Online using the zKillboard API
9 stars 4 forks source link

zKill API Change Oct 2018 means no KMs to parse #1

Open Eingang opened 6 years ago

Eingang commented 6 years ago

Squizz Caphinator, the zKillboard developer, has changed the data returned by the zKillboard API for a given killmail. Instead of returning all the information about it, zKillboard returns an ID, total value, fitted value, locationID, and a few other bits and bobs. Here's an example:

[
  {
    "killmail_id": 72744973,
    "zkb": {
      "locationID": 40030165,
      "hash": "97c70fdf3205d9ddd13dc36080859c0e39973121",
      "fittedValue": 376599.92,
      "totalValue": 1440079.12,
      "points": 1,
      "npc": false,
      "solo": false,
      "awox": false
    }
  }
]

Your zKillboard fetch needs to be rewritten to do one of the following things:

  1. Work solely with the information provided;
  2. Use the CCP killmail endpoint to retrieve more information;
  3. Use Squizz's RedisQ service (https://github.com/zKillboard/RedisQ);
  4. Use web sockets with the zKillboard web socket (https://github.com/zKillboard/zKillboard/wiki/Websocket).

According to https://www.reddit.com/r/evetech/comments/9hszlv/zkill_major_breaking_change_for_api/, those last two should still work and be providing the same data as before.

See also https://www.reddit.com/r/evetech/comments/9l1brl/zkill_major_breaking_change_for_api_has_been/

Crypta-Eve commented 5 years ago

This hasnt been looked at in 8 months... Is there any plans to update, or if possible can the author give permission to redistribute or attach a permissive license to allow this to be updated?