Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EveApi api = new EveApi(keyID, vCode);//, charID, 1000);
- //this is the stuff from other posts in this topic- sadly doesnt worth neither
- /*
- foreach (AccountBalance ab in api.GetCorporationAccountBalance())
- {
- EveApi iAPI = new EveApi(keyID, vCode, charID, (Int32)ab.AccountID);
- foreach (JournalEntry j in iAPI.GetCorporationWalletJournal())
- {
- rtbOutput.Text += j.Date + " " + j.Balance + "\n";
- }
- foreach (TransactionEntry j in iAPI.GetCorporationWalletTransactions())
- {
- rtbOutput.Text += j.Date + " " + j.Price + "\n";
- }
- }*/
- //this part works
- APIKeyInfo apikeyinfo = api.getApiKeyInfo();
- rtbOutput.Text += apikeyinfo.KeyType;
- CorporationSheet crpsht = api.GetCorporationSheet();
- rtbOutput.Text += crpsht.CeoName+"\n";
- foreach(CorporationAccount crpacc in crpsht.Divisions)
- {
- rtbOutput.Text += crpacc.Description + " " + crpacc.Key + "\n";
- }
- foreach (CorporationAccount crpwal in crpsht.Wallets)
- {
- rtbOutput.Text += crpwal.Description + " " + crpwal.Key + "\n";
- }
- //these return empty lists
- foreach(JournalEntry j in api.GetCorporationWalletJournal(1003))
- {
- rtbOutput.Text += j.Date + " " + j.Balance + "\n";
- }
- foreach (TransactionEntry j in api.GetCorporationWalletTransactions(1003))
- {
- rtbOutput.Text += j.Date + " " + j.Price + "\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment