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.
 

How to retrieve corp list

Author
Axium Cog
Grand Solar Trinity
Grand Inquisitors Federation
#1 - 2012-01-17 08:50:51 UTC
Im new to using the eve API so bear with me please,

i see that "list alliances" returns a list of all alliances and the affiliated corporations, however not all corporations are in an alliance.

How do i get lists of those as well? Is this even possible?

Thanks for the help.
-Ax
Louis Vitton
Viziam
Amarr Empire
#2 - 2012-01-17 08:52:54 UTC
I dont think this is possible though the api.

A list of all corps becomes out of date withing a day if you build one yourself.
Axium Cog
Grand Solar Trinity
Grand Inquisitors Federation
#3 - 2012-01-17 08:54:10 UTC
is there at least a way to retrieve a corp id from the name if i know it exists?
And thanks for the fast reply
Louis Vitton
Viziam
Amarr Empire
#4 - 2012-01-18 09:16:47 UTC  |  Edited by: Louis Vitton
At the moment you can use this;
http://wiki.eve-id.net/APIv2_Corp_CorporationSheet_XML
This will allow you to input a corp ID and pull its public corpSheet. Which is the opposite to what you want i think as you want to be able to use a name and then get the ID?

Can I ask what are you trying to do? With more detail we might be able to help you with a work around of sorts.
Zebullon
Tournicoton Security
#5 - 2012-01-18 13:02:44 UTC
Axium Cog wrote:
is there at least a way to retrieve a corp id from the name if i know it exists?
And thanks for the fast reply


Yes, you could use this API : /eve/CharacterID.xml.aspx
Send the exact name of the corporation and it will give you the good ID.

http://wiki.eve-id.net/APIv2_Eve_CharacterID_XML
Squizz Caphinator
The Wormhole Police
#6 - 2012-01-18 17:01:32 UTC
You can browse the listing of known corporations from here, just select the first 3 letters (helps keep the result sets small).

Also, I've gone ahead and exported the corporationID and name into a file for you, which can be downloaded here. Remember, these are only the corporations that evewho knows about, 160,607 listed in the file.

I hope this helps for whatever you're trying to do Smile

Various projects I enjoy putting my free time into:

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

Louis Vitton
Viziam
Amarr Empire
#7 - 2012-01-19 01:08:34 UTC
Zebullon wrote:
Axium Cog wrote:
is there at least a way to retrieve a corp id from the name if i know it exists?
And thanks for the fast reply


Yes, you could use this API : /eve/CharacterID.xml.aspx
Send the exact name of the corporation and it will give you the good ID.

http://wiki.eve-id.net/APIv2_Eve_CharacterID_XML


Excellent i didnt know that was possible thank you for he information on this :)

I dont mind be proven wrong when i learn things :P
Axium Cog
Grand Solar Trinity
Grand Inquisitors Federation
#8 - 2012-01-31 01:29:20 UTC
Thank you guys for the help. Answered alot of questions. :) I had hoped the character ID api would also port corporations, glad to see it does.

Thanks especially for going so much out of yalls way to provide such useful information. Glad to see not all of these forums end in a bump.

Fly safe