These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Is there a way to determine if a character is a war target via API

Author
Janduin Al-Thor
Transcending Imperium
#1 - 2016-03-16 19:56:22 UTC
I am building up my scouting tool which displays Local/DScan lists automatically from intel provided by scouts-

I am logged in on a character and I want to be able to assess if the Local list provided contains war targets, is there a way to determine this through the API or CREST? I can determine derived standings (from Alliance/Corp) via API, can't seem to find a way to determine war target status (ie. War is declared between corps/alliance, not Faction War Targets).
Professor Humbert
Project Fruit House
#2 - 2016-03-17 05:43:28 UTC
I expect you already know how to convert pilot names to charids and associated corp and alliance ids....

For war records:

https://public-crest.eveonline.com/wars/ <= this gives ALL war ids (id1 is from 2003....war 461000 started 31 DEC 2015)
https://public-crest.eveonline.com/wars/####/ <= this gives the detail of the war with the id ####
Janduin Al-Thor
Transcending Imperium
#3 - 2016-03-17 12:31:21 UTC
Professor Humbert wrote:
I expect you already know how to convert pilot names to charids and associated corp and alliance ids....

For war records:

https://public-crest.eveonline.com/wars/ <= this gives ALL war ids (id1 is from 2003....war 461000 started 31 DEC 2015)
https://public-crest.eveonline.com/wars/####/ <= this gives the detail of the war with the id ####

Yes to the first point and I did find the wars CREST endpoint. However, the wars are organized by war ID so I can't specify an alliance or corp ID to get the list of current wars. In theory I could determine war targets with this API but it would be extremely resource intensive for the simple task I am trying to achieve.