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.
 

Method for pulling factional warfare status of a corp/alliance?

Author
June Ting
Full Broadside
Deepwater Hooligans
#1 - 2012-08-21 04:49:35 UTC
It would appear that the only method of determining whether an alliance or corp is enrolled in FW is to examine killmails currently, as there is no sanctioned API mechanism for displaying the faction of a corp or alliance when it is examined via CorporationSheet.xml.aspx or via AllianceList.xml.aspx. This is a gaping disparity vs. the ingame client where the faction is displayed directly next to the corp/alliance logo, making it clear what faction (if any) a corp/alliance is associated with.

For the purposes of writing kill-on-sight status tools based on factional warfare status, this oversight is problematic since the only method of finding this information is roundabout and potentially out-of-date or modified due to public killboard post mangling. Sample use: CVA has decreed that all Minmatar militia are to be shot on sight in Providence even if they have no direct transgressions against Providence residents; thus, someone could be not explicitly on the KOS list, but would need to be checked for FW status before being declared KOS or not KOS.

Does someone know of a better way to obtain information on whether an entity is in FW?

I fight for the freedom of my people.

Desmont McCallock
#2 - 2012-08-21 05:59:30 UTC
June Ting
Full Broadside
Deepwater Hooligans
#3 - 2012-08-21 13:04:40 UTC  |  Edited by: June Ting
That does not help, as it requires an API key from a director in the corp of the player I'm looking up. This needs to work for arbitrary random players who have no reason to trust me with an API key, especially if they're kill-on-sight and about to be blown up by me.

I fight for the freedom of my people.

Codo Yagari
Cohortes Vigilum
Curatores Veritatis Alliance
#4 - 2012-11-13 20:45:48 UTC
+1

Would indeed be great if this feature could be added to the API.
Squizz Caphinator
The Wormhole Police
#5 - 2012-11-14 16:40:32 UTC
Use the faction warfare stats API, then determine corps and alliances from there. Sure, you won't get 100% of the corps or allis involved, but it'll be a good start.

I managed it, anyhow: http://evewho.com/faction/

Various projects I enjoy putting my free time into:

https://zkillboard.com | https://evewho.com

June Ting
Full Broadside
Deepwater Hooligans
#6 - 2012-11-15 12:16:19 UTC
Thanks for the tip.

"- Unfortunately, the current state of the API doesn't specify which corps belong to which factions." <- method doesn't work for my use, because I need to know if someone is specifically in minmatar FW rather than in some other FW.

One thing I could try is looking at a corp/alliance's recent eve-kill kills, and extract the FW status there, since FW status *is* shown on uploaded killmails, but at this point we're shaving a huuuge hairy yak and searching far more data than simply displaying info that the ingame client already knows about and displays upfront.

I fight for the freedom of my people.