View difference between Paste ID: m5wFTm6E and vVgNbRMe
SHOW: | | - or go back to the newest paste.
1
	    EveApi api = new EveApi(keyID, vCode);//, charID, 1000);
2
3
            //this is the stuff from other posts in this topic- sadly doesnt worth neither
4
            /*
5
            foreach (AccountBalance ab in api.GetCorporationAccountBalance())
6
            {
7-
                EveApi iAPI = new EveApi(keyID, vCode, 1705712035, (Int32)ab.AccountID);
7+
                EveApi iAPI = new EveApi(keyID, vCode, charID, (Int32)ab.AccountID);
8
                foreach (JournalEntry j in iAPI.GetCorporationWalletJournal())
9
                {
10
                    rtbOutput.Text += j.Date + " " + j.Balance + "\n";
11
                }
12
                foreach (TransactionEntry j in iAPI.GetCorporationWalletTransactions())
13
                {
14
                    rtbOutput.Text += j.Date + " " + j.Price + "\n";
15
                }
16
            }*/
17
18
19
20
            //this part works 
21
            APIKeyInfo apikeyinfo = api.getApiKeyInfo();
22
            rtbOutput.Text += apikeyinfo.KeyType;
23
            CorporationSheet crpsht = api.GetCorporationSheet();
24
            rtbOutput.Text += crpsht.CeoName+"\n";
25
            foreach(CorporationAccount crpacc in crpsht.Divisions)
26
            {
27
                rtbOutput.Text += crpacc.Description + " " + crpacc.Key + "\n";
28
            }
29
            foreach (CorporationAccount crpwal in crpsht.Wallets)
30
            {
31
                rtbOutput.Text += crpwal.Description + " " + crpwal.Key + "\n";                
32
            }
33
34
            //these return empty lists
35
            foreach(JournalEntry j in api.GetCorporationWalletJournal(1003))
36
            {
37
                rtbOutput.Text += j.Date + " " + j.Balance + "\n";    
38
            }
39
            foreach (TransactionEntry j in api.GetCorporationWalletTransactions(1003))
40
            {
41
                rtbOutput.Text += j.Date + " " + j.Price + "\n";
42
            }