These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Odd API quirk

Author
Nik W
Critical Mass Inc.
#1 - 2012-05-06 16:21:37 UTC
While writing a quick app to help monitor the corp wallet, I discovered something odd introduced with the new CAK.

Depending on how one customizes a corp API key it is possible to have the wallet ID and balance, but no wallet name [flag 1 on, 8 off]. In fact it's possible to have the entire journal and transaction log but no wallet name or ID. Inversely it is possible to have a wallet name but no ID [8 on, 1 off]

Obviously this is pretty minor but makes things a bit weird. I can't rely on having a proper ID, which is fine as I can use corp ID & account key for a PK. Though given there are existing ids that isn't ideal. I can't rely on having wallet names so I have to default them. Again, not a show stopper but not ideal.