APIv2 Eve CharacterID XML

From EVEDev

Jump to: navigation, search
Image:Api.pngAPI Methods - Category Home - API Libraries - API Usage Examples - API Method Reference - API Page Index

Contents

[edit] /eve/CharacterID.xml.aspx

[edit] Overview

Returns the ID of a given character, alliance or corporation name.

[edit] Data Caching

This method is cached according to the Modified Short Cache Style.

[edit] Input Arguments

Name Type Description
names string Comma-separated list of character names to query

[edit] Output XML

http://api.eve-online.com/eve/CharacterID.xml.aspx?names=CCP%20Garthagk

 
<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="2">
  <currentTime>2009-10-18 17:05:31</currentTime>
  <result>
    <rowset name="characters" key="characterID" columns="name,characterID">
      <row name="CCP Garthagk" characterID="797400947" /> 
    </rowset>
  </result>
  <cachedUntil>2009-11-18 17:05:31</cachedUntil>
</eveapi>
 

[edit] More

There seems to be a similar, so far undocumented, method for the reverse process which can resolve most kinds of IDs, including alliances, corporations, characters factions and item types:

[edit] /eve/CharacterName.xml.aspx

Input Arguments:

Name Type Description
ids string Comma-separated list of character IDs to query

Output XML: as above

http://api.eve-online.com/eve/CharacterName.xml.aspx?ids=797400947

Personal tools