antihax / goesi

Go client for EVE Online ESI and SSO using versioned endpoints
MIT License
80 stars 13 forks source link

Add appropriate XML suffixes, add APIKeyInfoXML param for specifying accessType #7

Closed tyler-sommer closed 6 years ago

tyler-sommer commented 6 years ago

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.