Pages: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 .. 15 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |
Brain Gehirn
Reikoku Pandemic Legion
72
|
Posted - 2015.09.09 16:56:31 -
[241] - Quote
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.
What is a signature?
|
Quesa
Burning Napalm Northern Coalition.
81
|
Posted - 2015.09.09 22:14:13 -
[242] - Quote
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 . 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
Burning Napalm Northern Coalition.
82
|
Posted - 2015.09.11 21:02:07 -
[243] - Quote
I cannot seem to get any of the Corporations (memberCorporations row) from the AllianceList (GetAllianceList()) endpoint, they all end up returning null. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.11 21:09:05 -
[244] - Quote
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 :) |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.12 16:50:33 -
[245] - Quote
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. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.12 17:16:28 -
[246] - Quote
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 ? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
17
|
Posted - 2015.09.12 17:26:25 -
[247] - Quote
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. |
Dextrome Thorphan
Intrepid Crossing
131
|
Posted - 2015.09.21 09:26:32 -
[248] - Quote
I keep getting {"error":"invalid_request", "error_description":"The callback URI doesn't match the value stored for this client"} When I try that URL with my application ID - any idea what I'm doing wrong? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
18
|
Posted - 2015.09.24 16:49:12 -
[249] - Quote
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. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
18
|
Posted - 2015.09.26 18:00:09 -
[250] - Quote
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. |
|
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
19
|
Posted - 2015.10.03 11:58:21 -
[251] - Quote
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 :) |
Dextrome Thorphan
Intrepid Crossing
135
|
Posted - 2015.10.03 12:18:01 -
[252] - Quote
Nice 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
Bearded BattleBears I N F A M O U S
19
|
Posted - 2015.10.03 15:08:20 -
[253] - Quote
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. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
19
|
Posted - 2015.10.03 15:13:38 -
[254] - Quote
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. |
Dextrome Thorphan
Intrepid Crossing
135
|
Posted - 2015.10.03 15:25:03 -
[255] - Quote
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 |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
19
|
Posted - 2015.10.03 16:31:29 -
[256] - Quote
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
If you use the source from github the fix is in there, feel free to test it. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
19
|
Posted - 2015.10.03 16:44:11 -
[257] - Quote
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 ? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
19
|
Posted - 2015.10.03 17:42:12 -
[258] - Quote
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. |
Malketh Terona
BOVRIL bOREers Mining CO-OP RAZOR Alliance
3
|
Posted - 2015.10.21 23:59:01 -
[259] - Quote
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
Intrepid Crossing
135
|
Posted - 2015.10.22 15:10:14 -
[260] - Quote
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 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 :) |
|
Icahmura Hasaki
Perkone Caldari State
19
|
Posted - 2015.10.22 22:25:03 -
[261] - Quote
Malketh Terona wrote: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.
Thanks for the feedback, I'll have a look at it :) |
Icahmura Hasaki
Perkone Caldari State
19
|
Posted - 2015.10.22 22:27:18 -
[262] - Quote
Dextrome Thorphan wrote: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 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 :)
Your issue has been fixed in the newest version on nuget, along with some other things. |
Groot DeStefano
Brave Newbies Inc. Brave Squids
0
|
Posted - 2015.10.23 16:12:24 -
[263] - Quote
Thanks for your work! Where can I find some kind of documentation about the code? As a c# noob, i am struggeling (crest market stuff...). I get System.AggregateException errors.
|
Revigon VI
Ministry of War Amarr Empire
0
|
Posted - 2015.10.24 20:23:50 -
[264] - Quote
Heya. Great work so far but ... do you plan move your lib's to be able to use them on Universal Windows Platform? |
Dextrome Thorphan
Intrepid Crossing
135
|
Posted - 2015.10.25 08:52:19 -
[265] - Quote
Groot DeStefano wrote:Thanks for your work! Where can I find some kind of documentation about the code? As a c# noob, i am struggeling (crest market stuff...). I get System.AggregateException errors.
Take a look at the inner exception, see if you can't find a more specific error message - System.AggregateException is quite vague ;)
There's some general explanation & code samples over here, at the bottom: https://github.com/ezet/evelib |
Icahmura Hasaki
Perkone Caldari State
19
|
Posted - 2015.10.25 11:31:26 -
[266] - Quote
Groot DeStefano wrote:Thanks for your work! Where can I find some kind of documentation about the code? As a c# noob, i am struggeling (crest market stuff...). I get System.AggregateException errors.
As Dextrome mentioned, you need to look at the inner exception. The 'real' exceptions get wrapped in Aggregate exceptions because of the async code, so there could be more of them. The inner exception is a property of the Aggregate one. Please let me know if something isn't working correctly so I can fix it ;)
|
Ocean Cineol
Too Big To Die
0
|
Posted - 2015.10.25 23:02:09 -
[267] - Quote
Thanks for your help, I learned quiet a bit!
var BlackRise = crest.GetRoot().Query(a => a.Regions).Query(b=> b.Where(x => x.Name == "BlackRise")).First(); BlackRise.MarketBuyOrders = "?type=" + /* what should be here? */; var allbuys = BlackRise.Query(c=> c.MarketBuyOrders).Items.ToList();
the code starts at the root , finds the first fitting ID for my region. Then i should query the the type of order(buy/sell) and the TypeID of my desired Item. (here i fail badly) Then it is saved to the cachefiles. Dextrome Thorphan, your code really helped to try to understand that stuff. The exception happens, because i fail to query the typeID in the right way and the uri is wrong. Cheers! |
Icahmura Hasaki
Perkone Caldari State
19
|
Posted - 2015.10.26 06:54:31 -
[268] - Quote
Ocean Cineol wrote:Thanks for your help, I learned quiet a bit!
var BlackRise = crest.GetRoot().Query(a => a.Regions).Query(b=> b.Where(x => x.Name == "BlackRise")).First(); BlackRise.MarketBuyOrders = "?type=" + /* what should be here? */; var allbuys = BlackRise.Query(c=> c.MarketBuyOrders).Items.ToList();
the code starts at the root , finds the first fitting ID for my region. Then i should query the the type of order(buy/sell) and the TypeID of my desired Item. (here i fail badly) Then it is saved to the cachefiles. Dextrome Thorphan, your code really helped to try to understand that stuff. The exception happens, because i fail to query the typeID in the right way and the uri is wrong. Cheers!
The API for passing along parameters isn't really finished, which is why you're not finding any examples of how to pass in the type. I can't test this right now, but you could try to do eg.
BlackRise.MarketBuyOrders += "?type=https://public-crest.eveonline.com/types/2/";
And then query that., it might work unless I'm forgetting something :) Also
var allbuys = BlackRise.Query(c=> c.MarketBuyOrders).AllItems();
would you give ALL items in the list by going through all pages, Items().ToList() would only return the items from page you are requesting.
I should make it clear that any way of passing parameters that you find working now, isn't officially supported and might change in the future. I'll try and find good way to handle both parameters and POST requests shortly. |
Dextrome Thorphan
Intrepid Crossing
135
|
Posted - 2015.10.26 11:18:59 -
[269] - Quote
-nvm, misunderstood- (too bad you can't delete replies) |
Groot DeStefano
Brave Newbies Inc. Brave Squids
0
|
Posted - 2015.10.26 15:50:43 -
[270] - Quote
System.AggregateException HResult=-2146233088 Source=mscorlib StackTrace: bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) bei System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) bei System.Threading.Tasks.Task`1.get_Result() bei eZet.EveLib.EveCrestModule.EveCrest.Load[T](Href`1 uri) bei eZet.EveLib.EveCrestModule.Models.Resources.CrestResource`1.Query[TOut](Func`2 objFunc) bei ConsoleApplication4.Test.Main(String[] args) in C:\Users\***\Documents\Visual Studio 2015\Projects\ConsoleApplication4\ConsoleApplication4\Program.cs:Zeile 76. bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException: HResult=-2146233088 LineNumber=1 LinePosition=694 Message=JSON integer 4294091884 is too large or small for an Int32. Path 'items[0].id', line 1, position 694. Path=items[0].id Source=Newtonsoft.Json
var crest = new EveCrest(); var root = crest.GetRoot(); var theForge = crest.GetRoot().Query(r => r.Regions).Query(r => r.Where(x => x.Name == "The Forge")).First(); theForge.MarketBuyOrders += "?type=https://public-crest.eveonline.com/types/34/"; var allbuys = theForge.Query(c => c.MarketBuyOrders).Items.ToList();
With "?type=https://public-crest.eveonline.com/types/2/"; the code is running...
P.S. AllItems is not working. |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 .. 15 :: one page |
First page | Previous page | Next page | Last page |