Pages: 1 2 [3] 4 5 6 7 8 9 10 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Jerik Telorian
Deep Core Mining Inc. Caldari State
0
|
Posted - 2012.01.24 20:54:00 -
[61] - Quote
Thanks for this great wrapper. You've got some solid, intuitive code here.
I have a question about accessing character info, though. If I wanted to get basic character sheet info (for something like EveMon), it looks like the way I'd get the info for each character is to:
Quote:Grab the API info using only the ID and Verification code
Get ApiKeyInfo
Get Character ID's from ApiKeyInfo
Get the api three new times, one each with character ID (for characters 1 through 3).
Work with those individual instances of api data.
Just checking to see if this is right, or I'm missing something -- at first the thought of so many calls seemed odd, but it accesses cached info so it should be okay to make multiple calls, right?
|
dan Rotsuda
Order of Order Red Alliance
0
|
Posted - 2012.01.24 21:17:00 -
[62] - Quote
How can i get CharacterID in C#, pls! |
Jognu
French Kiss Singularity Astromechanica Federatis
9
|
Posted - 2012.01.25 13:12:00 -
[63] - Quote
Harleigh > I'll create a little app to show you how to do that.
dan Rotsuda > for your nullreference, you should use auth.CharacterID = **** if you have an API with all characters of the account. To get the characters list, use : api.getApiKeyInfo()
Jerik Telorian > yes you have the good process. You can use the same api object each time, just change the Auth data.
You have a cache for each function of the API and for each auth data. So if you get CharacterSheet for api key id xxx and character id xxx you have a cache, and you have another one if you call the same api with a different key id or a different character ID.
I'll make a release with the modifications of Crucible 1.1 as soon as they release the static data. EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
dan Rotsuda
Order of Order Red Alliance
0
|
Posted - 2012.01.26 06:42:00 -
[64] - Quote
Pplease help! My code for api.getApiKeyInfo is in C#:
APIKeyInfo AKI = api.getApiKeyInfo();
listBox1.Items.Add(AKI.Characters);
something wrong i know! But what should i write to see an CharacterID and other in my listbox?
in result i see (Collection) in listBox field!!! |
Jognu
French Kiss Singularity Astromechanica Federatis
9
|
Posted - 2012.01.26 08:57:00 -
[65] - Quote
Ok, for Harleigh and dan Rotsuda, try this little demo app : http://sparklin.org/eveai/demoEveAI.zip It show you how to list the characters of an API key on a listbox, and how to list research & production jobs not completed on a listbox.
Look on the property of the listbox to know how I display which information. EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
dan Rotsuda
Order of Order Red Alliance
0
|
Posted - 2012.01.26 10:08:00 -
[66] - Quote
Thanks for the test! But where i can find a portrait of character? |
Jognu
French Kiss Singularity Astromechanica Federatis
9
|
Posted - 2012.01.26 10:54:00 -
[67] - Quote
You can use the ImageServer class of EveAI if you want to download the portrait. Or you just use the URL : https://image.eveonline.com/Character/ID_size.jpg For example https://image.eveonline.com/Character/1662056138_512.jpg EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Harleigh
Genbuku.
64
|
Posted - 2012.01.28 05:42:00 -
[68] - Quote
Jognu wrote:Ok, for Harleigh and dan Rotsuda, try this little demo app : http://sparklin.org/eveai/demoEveAI.zipIt show you how to list the characters of an API key on a listbox, and how to list research & production jobs not completed on a listbox. Look on the property of the listbox to know how I display which information.
Dude .. you rock . Thanks for the great work on this wrapper and assisting a noob like myself :)
|
Jognu
French Kiss Singularity Astromechanica Federatis
10
|
Posted - 2012.01.28 16:38:00 -
[69] - Quote
A first release with just the new static data (I will release another one later with the modifications on the API).
EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
dan Rotsuda
Order of Order Red Alliance
0
|
Posted - 2012.01.31 18:03:00 -
[70] - Quote
Well, i have a problem or question, i don`t know how it looks! 2 characters on 1 account, and user create Customizable API keys for All Character! Can i get Customizable API keys for each character(1,2,3), or he should to create Customizable API keys for each character manually and then send it to me!!!! And how can i get a list of all known skills of character? |
|
Tairia Lor'than
Stellar Excavations Interstellar Developements
0
|
Posted - 2012.02.01 19:44:00 -
[71] - Quote
Awsome work Jognu!
If you got time for it sometimes, please could you implement overloads for the relevant Get functions to allow transactions, journal etc walking in basic mode too?
Example: GetCorporationWalletTransactions() method currently has two overloads: one without accepting account key as parameter, and one with it.
Two others would be:
+1) GetCorporationWalletTransactions(int accountKey, int rowCount) +2) GetCorporationWalletTransactions(int accountKey, int rowCount, long fromTransactionID)
Would be cool. Till that i keep trying advanced mode.. .;]
thanks!
tai |
dan Rotsuda
Order of Order Red Alliance
0
|
Posted - 2012.02.04 09:47:00 -
[72] - Quote
well! i can get from character all learned skills from him! How can i compare his skills with skills needed to fly on drake! i need to get items skills! How? |
LazurusDemon
Magna Technology and Industrial New Terran Colonial Confederation
0
|
Posted - 2012.02.13 23:30:00 -
[73] - Quote
Hey Jognu,
Great work on keeping this project going! It's just awesome.
An issue I'm having trouble with however is that I'm after a list of current, unfinished, production jobs in a listbox, now I got the code working as I get a load of jobs listed. The thing is it's listing every single job I've ever done, except the ones that are currently running? Am I doing something wrong?
Thanks for the help ^_^ |
dan Rotsuda
Order of Order Red Alliance
0
|
Posted - 2012.02.25 16:42:00 -
[74] - Quote
HI! Please help me where in library i can get skills for some ship! I can`t find anything(((( for ex. i want to see what skills i need to fly on Boa etc. |
Almeiti du Larr
University of Caille Gallente Federation
0
|
Posted - 2012.02.25 20:19:00 -
[75] - Quote
Hey there,
Ran into a bug with the wallet journal API. If you try and use the multipart query, it gets caught in an infinite loop. The problem seems to be that ProcessXmlData() does not update FromID, so it keeps requesting the same data from the server over and over again.
Would you be able to fix this one and release a patch? I'd be happy to fix/test myself if you send me the source.
thx!
Edit: I'm using 2.3.0.0 BTW |
Jognu
French Kiss Singularity Astromechanica Federatis
12
|
Posted - 2012.02.26 11:02:00 -
[76] - Quote
Hello, I'll take a look at your requests ! EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Jognu
French Kiss Singularity Astromechanica Federatis
12
|
Posted - 2012.02.28 14:15:00 -
[77] - Quote
dan Rotsuda > you can't get this info from the library. But you could take the sql export from CCP and use the SQL request write by CCP Prisx X : https://forums.eveonline.com/default.aspx?g=posts&m=662032#post662032
With this you can easily find the skills needed for a ship !
Tairia Lor'than > I just saw that the fromID and rowCount doesn't work for walletTransaction. I fixed this in the last release. For the moment you still need to use the advanced mode for this two options.
Almeiti du Larr > Can you try with this realease ? It should work better.
LazurusDemon > Take a look at this post : https://forums.eveonline.com/default.aspx?g=posts&m=710321#post710321
Quote:Version 2.3.1.0
- Fix the rowCount and fromID for WalletTransactionApi
- Fix an issue with the WalletJournalApi
EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Gorn Che
Fly By Logistics Gecko Alliance
1
|
Posted - 2012.02.28 17:28:00 -
[78] - Quote
HI I am having an issue with the MemberTrackingApi. I think that CCP split the requests in to a limited and extended member details which have there own access masks. to get access to the extended info you need to put &extended=1 on the end of the request body.
I have tested this with fiddler and it works. I am wondering if there is a way I can inject this value on the end of the request at the moment of making the call?
Great Work By the way. |
Almeiti du Larr
University of Caille Gallente Federation
0
|
Posted - 2012.02.29 01:49:00 -
[79] - Quote
Jognu wrote: Almeiti du Larr > Can you try with this realease ? It should work better.
Hi Jognu,
Thanks. D/L v2.3.1 but still have the infinite loop. I was able to reproduce and fix it using reflector, BTW.
The problem is here in EveAPIBase: while (this.MultiPartRequestQuery != null) { data = this.PerformWebRequest(ref error); error = !this.UpdateDataInternal(data, ref document, true, false); if (error) { break; } }
For the wallet journal, the MultiPartRequestQuery property is not returning null so the loop never exits. The way I got it to work is to do this in WalletJournalApi:
if ((num2 != 0) && ((this.FindDataEntry(num).DateLocalTime + EveApiBase.maximumMultiPartTime) >= DateTime.Now)) { this.fromID = num; } else { this.fromID = -1; this.RowCount = -1; }
Note that both fromID and RowCount need to be set to -1 once we run out of nodes. This will allow the loop to exit. |
Marcus Sworaven
Falcon Regiment
4
|
Posted - 2012.03.04 20:06:00 -
[80] - Quote
I'm trying to extract transactions for each wallet from my corp. I'm using this for loop:
Quote:For i As Integer = 0 To 6 CorpWalletTransactions(i) = apiCorp.GetCorporationWalletTransactions(1000 + i) Next
CorpWalletTransactions is declared as follows:
Quote:Public CorpWalletTransactions(6) As List(Of EveAI.Live.TransactionEntry)
CorpWalletTransactions(6) = New List(Of EveAI.Live.TransactionEntry)
When I extract the first wallet (the master wallet) it shows 0 transactions. Which is correct. Then I extract the second wallet, which shows a number of transactions, also correct. But when I extract the remaining wallets (which should be empty) I get the transactions identical to the second wallet.
I get the same result when I declare the wallets separately.
Am I missing something? Am I doing something wrong? |
|
Ruthless Brian
Caldari Provisions Caldari State
0
|
Posted - 2012.03.05 13:30:00 -
[81] - Quote
Thank you for the awesome .NET API, much appreciated.
I am struggling with three things and it would be great if someone could provide a small code snippet on how to tackle these problems.
1) What is the easiest way to get the level of a skill? As far as I can see I have to loop ALL learned skills until I find the skill I'm looking for. Is this correct?
2) The second issue is related to the first, how can I find a certain item in the EveAI.Core, say a ship, by searching for a name?
3) Is it possible to get the implants used for slot 6-10? |
CaptainThorVonAwesome
The Star Belly Sneetches of the Apocalypse
0
|
Posted - 2012.03.05 23:25:00 -
[82] - Quote
Marcus Sworaven wrote:I'm trying to extract transactions for each wallet from my corp. I'm using this for loop: Quote:For i As Integer = 0 To 6 CorpWalletTransactions(i) = apiCorp.GetCorporationWalletTransactions(1000 + i) Next
CorpWalletTransactions is declared as follows: Quote:Public CorpWalletTransactions(6) As List(Of EveAI.Live.TransactionEntry)
CorpWalletTransactions(6) = New List(Of EveAI.Live.TransactionEntry) When I extract the first wallet (the master wallet) it shows 0 transactions. Which is correct. Then I extract the second wallet, which shows a number of transactions, also correct. But when I extract the remaining wallets (which should be empty) I get the transactions identical to the second wallet. I get the same result when I declare the wallets separately. Am I missing something? Am I doing something wrong?
Marcus,
In playing around with the API I have run into the same problem, however I discovered that a declared API call can have an accountKey hard coded into the constructor. So what I did was declared one EveAPI without a accountKey to fetch a list of accounts, and then looped through the accounts using a second EveAPI object to fetch the data. Like so...:
Dim eveAPI As New EveAI.Live.EveApi(keyID, vCode, characterID, 1000) Dim eveAccounts As List(Of EveAI.Live.AccountBalance) = eveAPI.GetCorporationAccountBalance
For i As Integer = 0 To eveAccounts.Count - 1 Dim iAccountKey As Integer = eveAccounts.Item(i).AccountKey Dim eveAPI_Wallets As New EveAI.Live.EveApi(keyID, _ vCode, _ characterID, _ iAccountKey)
Dim eveJournal As List(Of EveAI.Live.JournalEntry) = eveAPI_Wallets.GetCorporationWalletJournal() Dim eveTransactions As List(Of EveAI.Live.TransactionEntry) = eveAPI_Wallets.GetCorporationWalletTransactions()
iAccountKey = Nothing
eveJournal = Nothing eveTransactions = Nothing
eveAPI_Wallets = Nothing Next i
However the one thing that I have been able to determine is that the GetCorporationWalletJournal() function returns the default number of rows from CCP's API call, 50 rows, and there seems to be no way to itterate through the data sets to collect more rows. CCP has to options, one is FromID and the other is rowCount. RowCount by default is 50, but can go up to 2,560, since I am ever only getting 50 rows back I'd be willing to guess this value is not being passed. Also, the FromID sets the row at which the pulls starts going back in time from. So if you have 2565 rows in total, you could set it at the 2,560th row and get that plus the remaining 5 rows.
With that, I'd like to either suggest or offer up my assistance in modifying the GetCorporationWalletJournal() and GetCorporationWalletTransactions() functions to accept the "fromID" and the "rowCount" values that CCP accepts and input parameters to the API.
Hope this helps and at least makes a little sense. If you have any questions hit me up in game or shoot me a note and I'll help as I can.
Fly safe! -Thor |
Squornshellous Zeta
BioDyne 0FF C0NSTANTLY
0
|
Posted - 2012.03.09 03:16:00 -
[83] - Quote
CaptainThorVonAwesome wrote: However the one thing that I have been able to determine is that the GetCorporationWalletJournal() function returns the default number of rows from CCP's API call, 50 rows, and there seems to be no way to itterate through the data sets to collect more rows. CCP has to options, one is FromID and the other is rowCount. RowCount by default is 50, but can go up to 2,560, since I am ever only getting 50 rows back I'd be willing to guess this value is not being passed. Also, the FromID sets the row at which the pulls starts going back in time from. So if you have 2565 rows in total, you could set it at the 2,560th row and get that plus the remaining 5 rows.
With that, I'd like to either suggest or offer up my assistance in modifying the GetCorporationWalletJournal() and GetCorporationWalletTransactions() functions to accept the "fromID" and the "rowCount" values that CCP accepts and input parameters to the API.
Yes, please! I would very much like to see the rowCount parameter implemented in GetCorporationWalletJournal() (in addition to GetCharacterWalletJournal(), which I believe has the same limitation).
The fromID parameter would be great too, but I would have to think that the rowCount would be very easy to implement (being essentially a passthrough parameter to the API), whereas I could see the fromID requiring more work.
Jognu, thank you for continuing to maintain this library!
- SZ |
Ion Tyche
Sebiestor Tribe Minmatar Republic
0
|
Posted - 2012.03.16 19:43:00 -
[84] - Quote
I'm trying to populate a list with some items Is there a way to fetch ItemID - ItemName pairs from EveAI?
|
Oeuf
Trailerpark Industries
0
|
Posted - 2012.03.19 03:48:00 -
[85] - Quote
Is there a site where I can get the newest version of EVEAI or is this project dead now? Link from the top thread is dead.
Regards, Oeuf |
Jognu
French Kiss Singularity Astromechanica Federatis
13
|
Posted - 2012.03.23 18:45:00 -
[86] - Quote
The links of the first thread works ;) EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Nuquerna Dae
Equilibrium - Enterprises Satori Group
3
|
Posted - 2012.03.29 05:55:00 -
[87] - Quote
CaptainThorVonAwesome wrote:Marcus Sworaven wrote:I'm trying to extract transactions for each wallet from my corp. I'm using this for loop: Quote:For i As Integer = 0 To 6 CorpWalletTransactions(i) = apiCorp.GetCorporationWalletTransactions(1000 + i) Next
CorpWalletTransactions is declared as follows: Quote:Public CorpWalletTransactions(6) As List(Of EveAI.Live.TransactionEntry)
CorpWalletTransactions(6) = New List(Of EveAI.Live.TransactionEntry) When I extract the first wallet (the master wallet) it shows 0 transactions. Which is correct. Then I extract the second wallet, which shows a number of transactions, also correct. But when I extract the remaining wallets (which should be empty) I get the transactions identical to the second wallet. I get the same result when I declare the wallets separately. Am I missing something? Am I doing something wrong? Marcus, In playing around with the API I have run into the same problem, however I discovered that a declared API call can have an accountKey hard coded into the constructor. So what I did was declared one EveAPI without a accountKey to fetch a list of accounts, and then looped through the accounts using a second EveAPI object to fetch the data. Like so...: Dim eveAPI As New EveAI.Live.EveApi(keyID, vCode, characterID, 1000) Dim eveAccounts As List(Of EveAI.Live.AccountBalance) = eveAPI.GetCorporationAccountBalance For i As Integer = 0 To eveAccounts.Count - 1 Dim iAccountKey As Integer = eveAccounts.Item(i).AccountKey Dim eveAPI_Wallets As New EveAI.Live.EveApi(keyID, _ vCode, _ characterID, _ iAccountKey) Dim eveJournal As List(Of EveAI.Live.JournalEntry) = eveAPI_Wallets.GetCorporationWalletJournal() Dim eveTransactions As List(Of EveAI.Live.TransactionEntry) = eveAPI_Wallets.GetCorporationWalletTransactions() iAccountKey = Nothing eveJournal = Nothing eveTransactions = Nothing eveAPI_Wallets = Nothing Next i However the one thing that I have been able to determine is that the GetCorporationWalletJournal() function returns the default number of rows from CCP's API call, 50 rows, and there seems to be no way to itterate through the data sets to collect more rows. CCP has to options, one is FromID and the other is rowCount. RowCount by default is 50, but can go up to 2,560, since I am ever only getting 50 rows back I'd be willing to guess this value is not being passed. Also, the FromID sets the row at which the pulls starts going back in time from. So if you have 2565 rows in total, you could set it at the 2,560th row and get that plus the remaining 5 rows. With that, I'd like to either suggest or offer up my assistance in modifying the GetCorporationWalletJournal() and GetCorporationWalletTransactions() functions to accept the "fromID" and the "rowCount" values that CCP accepts and input parameters to the API. Hope this helps and at least makes a little sense. If you have any questions hit me up in game or shoot me a note and I'll help as I can. Fly safe! -Thor
Hey Thor,
I'm kinda totally new with VB.net and the api stuff, but getting along with the basics to experiment a bit. Your explanation and example were very helpfull so far, but i'm lacking the knowledge at this point to get the EveJournal list into something usable, I'd like to put it in a ListView so that I can read it and then use it. Any tips? Thanks in advance.
Nuq.
|
CaptainThorVonAwesome
The Star Belly Sneetches of the Apocalypse
1
|
Posted - 2012.03.31 06:03:00 -
[88] - Quote
Nuquerna Dae wrote:
I'm kinda totally new with VB.net and the api stuff, but getting along with the basics to experiment a bit. Your explanation and example were very helpfull so far, but i'm lacking the knowledge at this point to get the EveJournal list into a DataGridView, any tips? I get it to work when i open and read an exported .csv file, but can't figure out how to get the info from the EveJournal List that is created into a DataViewGrid. Thanks in advance.
Nuq.
Nuq,
The best thing that I can suggest is to create data table object and set it up with a column for each piece of information you want to capture. Then create a for loop to process through the journal entries. Once you have completed that process you can set the data grid's data source equal to the data table and then bind the data sources. For the sake of this example I will assume you are doing this on the individual level and not the corporate level, I have also assumed that you have created an API object and passed it the parameters required to get it to work.
Once you have that taken care of you need to setup a container to collect your data into, in this case if you are going straight to a data grid you can simply build a data table like so:
Dim eveOutput As New DataTable eveOutput.Columns.Add("accountKey") eveOutput.Columns.Add("Date") eveOutput.Columns.Add("TransferType") eveOutput.Columns.Add("GivingPartyName") eveOutput.Columns.Add("ReceivingPartyName") eveOutput.Columns.Add("AdditionalDataName") eveOutput.Columns.Add("Amount") eveOutput.Columns.Add("Balance") eveOutput.Columns.Add("Reason") eveOutput.Columns.Add("TaxAmount")
eveOutput.Columns("accountKey").DataType = System.Type.GetType("System.Int32") eveOutput.Columns("Date").DataType = System.Type.GetType("System.DateTime") eveOutput.Columns("TransferType").DataType = System.Type.GetType("System.String") eveOutput.Columns("GivingPartyName").DataType = System.Type.GetType("System.String") eveOutput.Columns("ReceivingPartyName").DataType = System.Type.GetType("System.String") eveOutput.Columns("AdditionalDataName").DataType = System.Type.GetType("System.String") eveOutput.Columns("Amount").DataType = System.Type.GetType("System.Decimal") eveOutput.Columns("Balance").DataType = System.Type.GetType("System.Decimal") eveOutput.Columns("Reason").DataType = System.Type.GetType("System.String") eveOutput.Columns("TaxAmount").DataType = System.Type.GetType("System.Decimal")
Once you have done this you can simply execute the call to the API to collect the journal entries, and then process through them like so:
Dim eveJournal As List(Of EveAI.Live.JournalEntry) = eveAPI_Wallets.GetCorporationWalletJournal() For Each eveEntry As EveAI.Live.JournalEntry In eveJournal Dim tmpRow As DataRow = eveOutput.NewRow tmpRow("accountKey") = BLAHH . . . . . eveOutput.Rows.Add(tmpRow) Next
Then once this is done you can finally say this. dvDataView.DataSource = eveOutput dvDataView.DataBind()
Hope this gets you started! Please ping me in game if you have any questions!
|
Bastaardicious
FinFleet Raiden.
1
|
Posted - 2012.04.03 21:03:00 -
[89] - Quote
Hi Guys,
I'm currently experimenting a bit with C# and EveAI. Programming noob, but i'm slightly getting there.
Can anyone tell me how to show the Category for skills? I've managed to fill a textbox with all skills my character has learned, but they are uncategorized and/or sorted.
I've done sorting via the Listbox properties (actually wanted to do this in the code, but i'll have to be a bit more experienced to figure that out), and can't find the Categories anywhere?
I did debugging and checked most values that were returned but I didn't see it. |
Nuquerna Dae
Equilibrium - Enterprises Satori Group
3
|
Posted - 2012.04.04 09:51:00 -
[90] - Quote
CaptainThorVonAwesome wrote:Nuquerna Dae wrote:
I'm kinda totally new with VB.net and the api stuff, but getting along with the basics to experiment a bit. Your explanation and example were very helpfull so far, but i'm lacking the knowledge at this point to get the EveJournal list into a DataGridView, any tips? I get it to work when i open and read an exported .csv file, but can't figure out how to get the info from the EveJournal List that is created into a DataViewGrid. Thanks in advance.
Nuq.
Nuq, The best thing that I can suggest is to create data table object and set it up with a column for each piece of information you want to capture. Then create a for loop to process through the journal entries. Once you have completed that process you can set the data grid's data source equal to the data table and then bind the data sources. For the sake of this example I will assume you are doing this on the individual level and not the corporate level, I have also assumed that you have created an API object and passed it the parameters required to get it to work. Once you have that taken care of you need to setup a container to collect your data into, in this case if you are going straight to a data grid you can simply build a data table like so: Dim eveOutput As New DataTable eveOutput.Columns.Add("accountKey") eveOutput.Columns.Add("Date") eveOutput.Columns.Add("TransferType") eveOutput.Columns.Add("GivingPartyName") eveOutput.Columns.Add("ReceivingPartyName") eveOutput.Columns.Add("AdditionalDataName") eveOutput.Columns.Add("Amount") eveOutput.Columns.Add("Balance") eveOutput.Columns.Add("Reason") eveOutput.Columns.Add("TaxAmount") eveOutput.Columns("accountKey").DataType = System.Type.GetType("System.Int32") eveOutput.Columns("Date").DataType = System.Type.GetType("System.DateTime") eveOutput.Columns("TransferType").DataType = System.Type.GetType("System.String") eveOutput.Columns("GivingPartyName").DataType = System.Type.GetType("System.String") eveOutput.Columns("ReceivingPartyName").DataType = System.Type.GetType("System.String") eveOutput.Columns("AdditionalDataName").DataType = System.Type.GetType("System.String") eveOutput.Columns("Amount").DataType = System.Type.GetType("System.Decimal") eveOutput.Columns("Balance").DataType = System.Type.GetType("System.Decimal") eveOutput.Columns("Reason").DataType = System.Type.GetType("System.String") eveOutput.Columns("TaxAmount").DataType = System.Type.GetType("System.Decimal") Once you have done this you can simply execute the call to the API to collect the journal entries, and then process through them like so: Dim eveJournal As List(Of EveAI.Live.JournalEntry) = eveAPI_Wallets.GetCorporationWalletJournal() For Each eveEntry As EveAI.Live.JournalEntry In eveJournal Dim tmpRow As DataRow = eveOutput.NewRow tmpRow("accountKey") = BLAHH . . . . . eveOutput.Rows.Add(tmpRow) Next Then once this is done you can finally say this. dvDataView.DataSource = eveOutput dvDataView.DataBind() Hope this gets you started! Please ping me in game if you have any questions!
Thanks a million Thor! that really helped me a lot |
|
|
|
|
Pages: 1 2 [3] 4 5 6 7 8 9 10 :: one page |
First page | Previous page | Next page | Last page |