Posted - 2011.03.27 19:44:00 - [1
Is there any way to figure out typeID of every contact in list?
To be able to query any details by ID (additional information and image), we must know the type of contact ("Character", "Corporation" or the "Alliance").
First, I have to check /eve/CharacterInfo.xml.aspx to figure out that ID is not "Character" (first call to eve server).
Then I have to check /corp/CorporationSheet.xml.aspx to get corporation details (second call to eve server).
If I have no cached alliance list, the second call may result in error if this ID is an alliance ID.
All these subsequent queries are lead to additional server load.
It seems to be we cannot distinguish typeID`s from each other by some range.
Why not to add one additional field to result XML wich will contain typeID of the contact?