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.
 

[EveLib] A .NET library for EveXML, CREST, EveCentral, and more

First post
Author
Brain Gehirn
Macabre Votum
Northern Coalition.
#241 - 2015-09-09 16:56:31 UTC
Valko Raskolbasko wrote:
Brain Gehirn wrote:
Grab from CREST and be happy.


I am sorry, bot how can i get buy/sell orders by CREST?



Check your ingame mail. As it could have been a bit off I have sent it there.
Quesa
Macabre Votum
Northern Coalition.
#242 - 2015-09-09 22:14:13 UTC  |  Edited by: Quesa
Icahmura Hasaki wrote:
Quesa wrote:
Icahmura Hasaki wrote:
Quesa wrote:
Icahmura Hasaki wrote:
Seems to be an oversight on my part, and there isn't a way for doing this at the moment. I'll add this to the next version, which is coming soon.



Sweet, thanks.

If you're really into punishing yourself, there are a good deal of these types of endpoints that have optional credential requirements for public data...possible that you missed more?


Do you have any examples? I can't recall seeing any


By good deal, I meant 2 P. They appear to be the corp one and CharacterSheet.


I can't seem to find any documentation for a public CharacterSheet, got a link?

CharacterInfo, sorry. I gotta stop posting late.
Quesa
Macabre Votum
Northern Coalition.
#243 - 2015-09-11 21:02:07 UTC
I cannot seem to get any of the Corporations (memberCorporations row) from the AllianceList (GetAllianceList()) endpoint, they all end up returning null.
Icahmura Hasaki
Perkone
Caldari State
#244 - 2015-09-11 21:09:05 UTC
Quesa wrote:
I cannot seem to get any of the Corporations (memberCorporations row) from the AllianceList (GetAllianceList()) endpoint, they all end up returning null.


I'll look at it tomorrow :)

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#245 - 2015-09-12 16:50:33 UTC
Been trying to figure out why memberCorporations won't parse for hours now, and I am no closer to finding a solution. If anyone has any ideas, please let me know. Similar looking XML outputs parse perfectly fine, and I've checked the code n times, and I just can't find any reason for it to behave as it does.

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#246 - 2015-09-12 17:16:28 UTC
Turns out the API is serving me with xml eveapi version 1, which doesn't include the memberCorporations. Anyone know why it's giving me this version, instead of eveapi version 2 ?

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#247 - 2015-09-12 17:26:25 UTC  |  Edited by: Icahmura Hasaki
Okay, feeling pretty stupid now. Turns out I gave GetAllianceList() a optional parameter, extended, which defaults to false. If you pass in true, you'll have the corporations included. Been too long since I worked on this...

Make sure to disable or delete your cache if you've pulled version 1 recently and want the extended version.

Developer of EveLib and EveAuthUtility

Dextrome Thorphan
#248 - 2015-09-21 09:26:32 UTC  |  Edited by: Dextrome Thorphan
I can't seem to get a refresh token with your EveAuthUtility tool, it's always blank... I do get the Encoded key though.

And an access token too, but when I try to use the access token in evelib, it's gives me the following error: {"Authentication needed, bad token"}

Any advice? Could I maybe send you my info through evemail so you could see what I'm doing wrong?
Icahmura Hasaki
Perkone
Caldari State
#249 - 2015-09-24 16:49:12 UTC
Dextrome Thorphan wrote:
I can't seem to get a refresh token with your EveAuthUtility tool, it's always blank... I do get the Encoded key though.

And an access token too, but when I try to use the access token in evelib, it's gives me the following error: {"Authentication needed, bad token"}

Any advice? Could I maybe send you my info through evemail so you could see what I'm doing wrong?


Sure, send it through evemail and I'll have a look. Are you sure you're using it correctly? I'm fairly certain it was working for both myself and others a while back.

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#250 - 2015-09-26 18:00:09 UTC
New updates for EveXml, Core, and AuthUtil.

EveCore: Made it easier to set your own cache and image paths. Simply set CachePath and ImagePath before instantiating the modules you want. Changing the path does not affect already initialized objects.

EveXml: Added support for all the recent updates and changes that I could find. This includes new endpoints, Bookmarks and ChatChannels, and some changes to existing endpoints. I aim to keep EveXml complete and up to date, so if any endpoints or data is missing, please let me know.

AuthUtil: Added a note in the text to remind users to enable CREST and add the publicData scope to your application at developers.eveonline.com. The URL is automatically placed in the users clipboard when generated.

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#251 - 2015-10-03 11:58:21 UTC
Updated EveWho, turns out it wasn't working very well at all. Everything should be working fine now, and the new version is up on nuget :)

Developer of EveLib and EveAuthUtility

Dextrome Thorphan
#252 - 2015-10-03 12:18:01 UTC  |  Edited by: Dextrome Thorphan
Nice Cool keep up the good work

I ran into a little issue with CREST:
When I try to Query this Uri{"https://crest-tq.eveonline.com/market/10000002/orders/buy/?type=https://crest-tq.eveonline.com/types/12612/"} I get the following System.AggregateException:{"JSON integer 4258935401 is too large or small for an Int32. Path 'items[0].id', line 1, position 681."}

Do you maybe have a little example of how to fetch buy (or sell) orders? This is what I try to do:

var theForge = crest.GetRoot().Query(r => r.Regions).Query(r => r.Where(x => x.Name == "The Forge")).First();
theForge.MarketBuyOrders += "?type=" + itemList.Where(x => x.Type.Id == 12612).First().Type.Href;
var buyOrders = theForge.Query(r => r.MarketBuyOrders).Items.ToList();
Icahmura Hasaki
Perkone
Caldari State
#253 - 2015-10-03 15:08:20 UTC
Try updating to the newest version, it should be fixed there. Please let me know if you're still having the issue with the newest version on nuget.

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#254 - 2015-10-03 15:13:38 UTC
Uhm, forgot I haven't actually published that fix on nuget. I wanted to release that together with some other fixes. I'll see if I can get it done later today, I'll post back here when I publish it.

Developer of EveLib and EveAuthUtility

Dextrome Thorphan
#255 - 2015-10-03 15:25:03 UTC
Icahmura Hasaki wrote:
Uhm, forgot I haven't actually published that fix on nuget. I wanted to release that together with some other fixes. I'll see if I can get it done later today, I'll post back here when I publish it.


Hehe ok, thanks Big smile
Icahmura Hasaki
Perkone
Caldari State
#256 - 2015-10-03 16:31:29 UTC
Dextrome Thorphan wrote:
Icahmura Hasaki wrote:
Uhm, forgot I haven't actually published that fix on nuget. I wanted to release that together with some other fixes. I'll see if I can get it done later today, I'll post back here when I publish it.


Hehe ok, thanks Big smile


If you use the source from github the fix is in there, feel free to test it.

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#257 - 2015-10-03 16:44:11 UTC
From: https://developers.eveonline.com/blog/article/aegis-sovereignty-api-changes

ALLIANCES
We have added two new optional fields to the alliances resource. Those fields are the primeHour and capitalSystem.

I can't find these fields anywhere in the alliances/ or the alliance/ resources, anyone got any idea why ?

Developer of EveLib and EveAuthUtility

Icahmura Hasaki
Perkone
Caldari State
#258 - 2015-10-03 17:42:12 UTC
Just pushed a new version of EveCrest to nuget, 3.1.0, which includes a fix for the MarketOrder ID, and adds support for the sovereignty endpoints.

Developer of EveLib and EveAuthUtility

Malketh Terona
Imperial Academy
Amarr Empire
#259 - 2015-10-21 23:59:01 UTC
Trying to install this in a Universal app project in VS2015 and I'm getting an error message stating that all of the packages are "not compatible with UAP,Version=v10.0 (win10-x64-aot)". Thought you might like to know.
Dextrome Thorphan
#260 - 2015-10-22 15:10:14 UTC
Icahmura Hasaki wrote:
Dextrome Thorphan wrote:
Icahmura Hasaki wrote:
Uhm, forgot I haven't actually published that fix on nuget. I wanted to release that together with some other fixes. I'll see if I can get it done later today, I'll post back here when I publish it.


Hehe ok, thanks Big smile


If you use the source from github the fix is in there, feel free to test it.


Ah sorry, haven't had the chance to get around to it yet, will check it out some time this week and will let you know :)