This PR fixes the naming of the CallList and APIKeyInfo xml calls, adding the XML suffix.
I've also added a parameter to the APIKeyInfoXML method to allow specifying which accessType ("character" or "corporation"). The API token must be a Director or CEO to use "corporation", a 403 will be returned otherwise.
This PR fixes the naming of the CallList and APIKeyInfo xml calls, adding the XML suffix.
I've also added a parameter to the APIKeyInfoXML method to allow specifying which accessType ("character" or "corporation"). The API token must be a Director or CEO to use "corporation", a 403 will be returned otherwise.