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.
 

API Get Alliance From Corp ID

Author
Holy Schnitzel
The Valklears
#1 - 2013-05-01 23:33:52 UTC
Which api would provide me with the alliance ID / name of a given corp ID.

My scenario is that i have a bunch of CorpID's and i need to get each ones current alliance. I dont have an api key for each of the corps so i cant use the corp sheet.

Any help would be great

Thanks
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2013-05-01 23:46:59 UTC
http://wiki.eveonline.com/en/wiki/EVE_API_Corporation_Corporation_Sheet

You don't need an api key. you'll just get a little less information.

https://api.eveonline.com/corp/CorporationSheet.xml.aspx?corporationID=1000115 (give it one with an alliance, and you;ll get something more meaningful)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Mikokoel
Mining Industry Exile Foundation
Synergy of Steel
#3 - 2013-05-02 07:42:42 UTC
If you dont want to do x requests for your x corps, you can use

http://wiki.eveonline.com/en/wiki/EVE_API_EVE_Alliance_List

This gives you a list of alliances and also a list of corporations that are members of this alliance.
You might have to parse the result and put it into a DB though.

Mikokoel | Head FC League of Unaligned Master Pilots