|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |

Wodeki
|
Posted - 2009.04.16 14:27:00 -
[1]
I am writing an app in C# and I was hoping to cache the market data obtained using the EveAI library in a CSV format, however I am having trouble reconstructing some of the objects back from strings because some of their data members are read only. For instance, a MarketOrder's Expires, ExpiresLocalTime and VolumeSold are read only.
Additonally, a MarketOrder owns a Station and and Type which are more complex classes which can not easily be reconstructed from strings. Is there any way for me to serialize and parse the data obtained from the EveAPI library? Your library is outstanding and I am really looking forward to using it more fully.
|

Wodeki
|
Posted - 2009.04.17 03:26:00 -
[2]
I really appreciate the fast turn around with answering my questions! I am also curious as to why GetCorporationWalletJournal() and GetCorporationWalletTransactions() seem to always return empty lists. To rule out any issues that I may have with my own code, I am using your test app to verify that I have my settings correct. It is in the test app that I receive no data. What are the AccountKey and StarbaseID parameters used for under the Authentication object? Are these somehow related to the fact that I am not receiving any data? Do I ever need to supply the CorporationID as the CharacterID when retrieving any of the data, or will it always be the CharacterID within the corporation that should be used? Thanks in advance!
|

Wodeki
|
Posted - 2009.04.17 19:45:00 -
[3]
Originally by: Wodeki I really appreciate the fast turn around with answering my questions! I am also curious as to why GetCorporationWalletJournal() and GetCorporationWalletTransactions() seem to always return empty lists. To rule out any issues that I may have with my own code, I am using your test app to verify that I have my settings correct. It is in the test app that I receive no data. What are the AccountKey and StarbaseID parameters used for under the Authentication object? Are these somehow related to the fact that I am not receiving any data? Do I ever need to supply the CorporationID as the CharacterID when retrieving any of the data, or will it always be the CharacterID within the corporation that should be used? Thanks in advance!
Nevermind. I realized that you need to instantiate a new EveApi when switching accounts. It is not sufficient to just set the Authentication.CharacterID, Authentication.UserID, and Authentication.ApiKey data members and then invoke the methods again to get the data.
|

Wodeki
|
Posted - 2009.04.22 18:54:00 -
[4]
I am using the api GetCharacterAssets(). I am walking the list of assets and organizing each of the assets into regions, solar systems and stations. For my corporation's assets, many of the items are located in an office Hanager. The asset for the office does not have the Location class populated. I have tried using both the simple api as well as loading all of the static data reading the EveAI.Data.zip file, but each of the following calls below return null.
eveApi.EveApiCore.FindCelestial(asset.LocationID); eveApi.EveApiCore.FindRegion(asset.LocationID); eveApi.EveApiCore.FindSolarSystem(asset.LocationID); eveApi.EveApiCore.FindStation(asset.LocationID);
The office asset has a LocationID of 66010865. What is the best way to figure out what kind of location this is? Am I using the wrong API to find the corresponding location? |

Wodeki
|
Posted - 2009.04.23 13:21:00 -
[5]
Originally by: Amida Ta Have a look at this description: http://wiki.eve-id.net/APIv2_Corp_AssetList_XML I might add that as auto-resolution mechanism in EveAI, too.
This worked great! Thanks very much. I would have never figured that out on my own. It would certainly be handy if the API would do this natively, but certainly not a biggie.
|

Wodeki
|
Posted - 2009.04.29 15:39:00 -
[6]
I decided to switch over to using all of the advanced APIs instead of using the simple Eve API. However I noticed right away that the advanced API does not resolve the ProductType or Station (Location) information in any of the results returned, unlike the simple API.
EveApi.GetCharacterMarketOrders(); <- returns MarketOrder with Type and Station set
CharacterMarketOrderApi.UpdateData(); CharacterMarketOrderApi.Data; <- returns MarketOrder with Type and Station set to null
This is also true for transactions, journal entries, etc. I do not see any way through the API to set the DataCore so the information can be populated automatically, as it is done in the EveCentralMarketApi. I do not need the all of the data from EveAI.Data.zip, just the basic map and product data that comes from the dll.
I must be missing something simple, but I'm currently at a loss.
|

Wodeki
|
Posted - 2009.04.29 17:35:00 -
[7]
Edited by: Wodeki on 29/04/2009 17:44:17 Amida, this is working great now -- thanks! JournalEntries however still do not have their WalletTransferType (TransferType data member) resolved correctly. My DataCore is being initialized with:
EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.BasicMapData | EveAI.DataTypes.Products);
Is there a different DataType that the DataCore needs to be initialized with? Do I need the read the full EveAI.Data.zip to get this data? I noticed that the DataCore itself does not have a "FindWalletTransferType" method. Thanks in advance.
EDIT: Nevermind. I just realized there exists a WalletTransferTypeApi.
|

Wodeki
|
Posted - 2009.05.20 15:36:00 -
[8]
Edited by: Wodeki on 20/05/2009 15:39:42
|

Wodeki
|
Posted - 2009.07.08 18:18:00 -
[9]
Is there any way to determine the researched ME/PE levels of a blueprint if you own the item? The Blueprint object does not seem to contain this information, although I do know that it is contained within the game. I am not certain if the Eve API even supports passing this information.
|

Wodeki
|
Posted - 2009.08.13 13:32:00 -
[10]
Is there any way to determine the researched ME/PE levels of a blueprint if you own the item?
|
|

Wodeki
|
Posted - 2009.09.02 13:33:00 -
[11]
Could you please update the API to include the latest patch updates? These include the new small, medium and large rigging BPO and items. Thanks!!!
|
|
|
|