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.
 

Non-alliance corporation list?

Author
Aexsar Burdge
Innovative Solutions INC.
The Strategic Development Group
#1 - 2016-03-05 05:40:38 UTC
I feel like I must be missing something here with the API calls offered. I see how I can query /eve/AllianceList.xml.aspx to grab a list of current alliances and member corporations, then work backwards to associate corporation IDs to names. I do not see any API call that would allow you to pull corporation IDs from all corporations (including those not in an alliance) however.

I'm hoping that I'm just blind, and am missing the right API call to make. Please let me know if there is a direct call or a workaround to accomplish this.
Dragonaire
Here there be Dragons
#2 - 2016-03-05 14:56:11 UTC
There is no API for an all inclusive list of corps in Eve just APIs as you have found that let you get the corp info once you have either the ID or name.

Just something to think on though if a corp doesn't show up in an alliance or have members showing up in the public killmails which is another way to get their corp ID/names then are they really doing anything interesting enough in Eve to matter? Most of the corps you are going to be missing are inactive so probably of little interest to anyone but maybe the people that started them to start with IMHO.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Jack Hayson
The Scope
Gallente Federation
#3 - 2016-03-06 11:13:28 UTC
If you have a name and want to check if it's a corporation what you can do is get the EveID from
https://api.eveonline.com/eve/CharacterID.xml.aspx?names= (works for characters,corps and alliances)
and then try to pull the corporation sheet from
https://api.eveonline.com/corp/CorporationSheet.xml.aspx?corporationID=

Or you could use the zKill autocomplete API
https://forums.eveonline.com/default.aspx?g=posts&m=6291936#post6291936
lost packet
Alpha Flight
Almost Broken
#4 - 2016-03-24 11:26:42 UTC
Jack Hayson wrote:
If you have a name and want to check if it's a corporation what you can do is get the EveID from
https://api.eveonline.com/eve/CharacterID.xml.aspx?names= (works for characters,corps and alliances)
and then try to pull the corporation sheet from
https://api.eveonline.com/corp/CorporationSheet.xml.aspx?corporationID=

Or you could use the zKill autocomplete API
https://forums.eveonline.com/default.aspx?g=posts&m=6291936#post6291936


To check if its a pilot/corporation/alliance you can use the ownerID endpoint, no need to attempt to pull a corp sheet to check if its a corp.

https://forums.eveonline.com/default.aspx?g=posts&t=327617&find=unread