API request current corporation wars

tell me what request can pull the current war of the corporation

1 Like

Currently it’s not directly possible, see https://github.com/esi/esi-issues/issues/305.

1 Like

Blacksmoke16 thx

Just to clarify. You can absolutely get the wars of corporations and alliances from ESI. It’s just that the endpoint will return all wars, so you have to dig through some data. However, the endpoint will return the newest wars first, so you can just stop requesting at some point.

The process is:

  1. Request all wars (by war ID) from Wars/wars/
  2. Get details for each war from War/wars/{war_id}/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.