issue with APIKeyInfo #12

Closed
simook opened this Issue Nov 5, 2012 · 0 comments

Comments

Projects
None yet
2 participants

simook commented Nov 5, 2012

When using the /account/APIKeyInfo api, I'm unable to access the accessMask. It seems only the character rows are returned. I looked through the docs and source and haven't found any answers, am I missing something or is this an issue?

EAAL::API.new(key,secret).APIKeyInfo

inspecting the response

#<AccountAPIKeyInfoResult:0x000001082e7698 @request_time="2012-11-06 20:21:55", @cached_until="2012-11-06 20:26:05", @key=#<EAAL::Result::ResultContainer:0x000001082e8d90 @container={"characters"=>[#<AccountAPIKeyInfoRowsetCharactersRow:0x000001082e8868 @container={}, @characterID="***", @characterName="***", @corporationID="***", @corporationName="***e">, #<AccountAPIKeyInfoRowsetCharactersRow:0x000001082e8430 @container={}, @characterID="***", @characterName="***", @corporationID="***", @corporationName="***">]}>>`

here's the cached response

<?xml version='1.0' encoding='UTF-8'?>
<eveapi version="2">
  <currentTime>2012-11-06 20:21:55</currentTime>
  <result>
    <key accessMask="268435455" type="Account" expires="2013-11-04 00:00:00">
      <rowset name="characters" key="characterID" columns="characterID,characterName,corporationID,corporationName">
        <row characterID="***" characterName="***" corporationID="***" corporationName="***" />
        <row characterID="***" characterName="***" corporationID="***" corporationName="***" />
      </rowset>
    </key>
  </result>
  <cachedUntil>2012-11-06 20:26:05</cachedUntil>
</eveapi>

WrErase added a commit to WrErase/eaal that referenced this issue Nov 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment