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.
 

eve/CharacterID.xml.aspx and item type

Author
Gallente Drone
Doomheim
#1 - 2013-02-13 18:08:26 UTC
if we use this api, how can we know what type is it? try to insert there your character\corporation name there, no flags will be given, just one main value "characterID" of string we gave

for example:
if we will set there character name - will get characterID
if we will set there corporation name - will get characterID (aka row of corporationID)
if we will set there alliance name - will get characterID (aka row of allianceID)

so main question is, if we insert there string, and we don't know what "type" is it (character\corporation\alliance) how can we detect it?
Desmont McCallock
#2 - 2013-02-13 18:37:01 UTC
You need to query the CharacterSheet call and if it fails then it's either a corp or alliance.
Then you need to query the CorporationSheet and if it fails it's an alliance.
And this is the case of the multi-errors we are forced to generate to find out the info we need.
Gallente Drone
Doomheim
#3 - 2013-02-13 18:39:20 UTC
Desmont McCallock wrote:
You need to query the CharacterSheet call and if it fails then it's either a corp or alliance.
Then you need to query the CorporationSheet and if it fails it's an alliance.
And this is the case of the multi-errors we are forced to generate to find out the info we need.


characterSheet? how can we get it without api (keyID + vCode) ?
Squizz Caphinator
The Wormhole Police
#4 - 2013-02-13 18:45:59 UTC
I believe he meant CharacterInfo, example:

https://api.eveonline.com/eve/CharacterInfo.xml.aspx?&characterId=1633218082

Various projects I enjoy putting my free time into:

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

Gallente Drone
Doomheim
#5 - 2013-02-13 18:46:57 UTC
Squizz Caphinator wrote:

thnx A LOT
Desmont McCallock
#6 - 2013-02-13 19:46:34 UTC
Thanks Squizz for correcting me. Fast typing ain't my thing.