Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |
Blacksmoke16
Resilience.
18
|
Posted - 2016.06.21 18:17:28 -
[1] - Quote
Has anyone been able to get the open market window endpoint to work?
My call is as follows:
POST /characters/2047918291/ui/openwindow/marketdetails/ HTTP/1.1 Host: crest-tq.eveonline.com Authorization: bearer MY_TOKEN Content-Type: application/json
{ "type": { "href": "https://crest-tq.eveonline.com/inventory/types/0/", "id": 34 } }
I am running into an "Authentication scope needed" error, even though i have publicData and remoteClientUI scopes.
Any ideas? |
Ydnari
Estrale Frontiers
414
|
Posted - 2016.06.21 19:24:22 -
[2] - Quote
Same, can't get it to work.
--
|
Ydnari
Estrale Frontiers
414
|
Posted - 2016.06.21 19:38:38 -
[3] - Quote
The similar-looking showContract call works with the same token.
--
|
Ydnari
Estrale Frontiers
414
|
Posted - 2016.06.21 20:11:42 -
[4] - Quote
And now I can get marketdetails to work, not entirely sure what I changed though, not requested any more scopes since last attempt. Am using content-type application/vnd.ccp.eve.ShowMarketDetails-v1+json, and your type JSON has a 0 in the href's ID, not that it seems to take notice of that - it's the numeric ID it uses - works fine for me with a 0 in the href.
--
|
Blacksmoke16
Resilience.
18
|
Posted - 2016.06.21 20:29:41 -
[5] - Quote
Ydnari wrote:And now I can get marketdetails to work, not entirely sure what I changed though, not requested any more scopes since last attempt. Am using content-type application/vnd.ccp.eve.ShowMarketDetails-v1+json, and your type JSON has a 0 in the href's ID, not that it seems to take notice of that - it's the numeric ID it uses - works fine for me with a 0 in the href.
Just tried it with new token and that content-type and still same error.
FoxFour said that "The ID in the URL actually doesn't matter... quark with the CREST framework." So that can't be the issue.
What scopes are you using, just the remoteClientUI and publicData? |
Ydnari
Estrale Frontiers
414
|
Posted - 2016.06.21 20:38:40 -
[6] - Quote
I did have "publicData remoteClientUI fleetRead fleetWrite characterNavigationWrite characterBookmarksRead characterContactsRead characterContactsWrite characterKillsRead characterLocationRead", I've just cut it back to "publicData remoteClientUI" and got another token and it still works.
--
|
Blacksmoke16
Resilience.
18
|
Posted - 2016.06.21 20:40:46 -
[7] - Quote
Hmm. What body/endpoint do you have for the contract one? I can try that one. |
Blacksmoke16
Resilience.
18
|
Posted - 2016.06.21 21:16:44 -
[8] - Quote
Got it working.
After changing scopes on the app the refresh token i was using was returning tokens based on the old set of scopes, ie when that refresh token was made. Did a reset and got a new set of tokens and everything is fine now.
EDIT:
endpoint for contracts
POST to https://crest-tq.eveonline.com/characters/Char_ID/ui/openwindow/contract/
with body { "contractID": xxxxxxx} |
|
CCP FoxFour
C C P C C P Alliance
4403
|
Posted - 2016.06.22 08:01:02 -
[9] - Quote
Glad to hear you got it sorted. :)
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Jai Blaze
Honor Forge Joint Operation Involving Nobodys
3
|
Posted - 2016.08.19 08:41:18 -
[10] - Quote
I haven't been able to dive into the crest scene just yet but... does this endpoint actually cause a market window of the desired typeID to open in the eve client of the designated user? |
|
Messenger Of Truth
Butlerian Crusade
53
|
Posted - 2016.08.19 08:58:30 -
[11] - Quote
yes you can also make a particular contract open, and you can also make a "show info" window about various entities appear.
You can't yet open a particular blueprint in the industry window though....maybe one day!
Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck
Visit "Haulers Channel" in game for all matters courier-related.
Citadel API: stop.hammerti.me.uk/api
|
Blacksmoke16
Resilience.
23
|
Posted - 2016.08.19 13:12:51 -
[12] - Quote
What he said. But yes it actually works and is super neat. Just have to make sure you have the right scope and are submitting the data correctly. CCP just released a new endpoint that will open a show info on a character, corporation, or alliance. |
Jai Blaze
Honor Forge Joint Operation Involving Nobodys
3
|
Posted - 2016.08.21 09:29:14 -
[13] - Quote
Does nobody else think this is taking a traders job too far in terms of automation? I could easily write an app that once I log into it, it constantly checks prices for items I've listed and any that show with my order not being the lowest priced, cause it to open that item in the market on my client and wait for my response before flashing up another...
This is going too far, and speaking as someone who primarily makes my isk from trading, I will not compete with robots, that's why I don't mine. If trade ends up also seeing this sort of automation, I'm done, simply put.
Seriously??? I'm surprised this has been allowed to be implemented. This is literally taking the system to two clicks and a paste away from straight up bot trading. (which I'm sure many people will - if they haven't already started - be able to set up a simple automated process to achieve).
I'm concerned, aren't you? I'm all for progress, but this could literally be a game-breaker. |
Blacksmoke16
Resilience.
23
|
Posted - 2016.08.21 14:04:13 -
[14] - Quote
Thanks for the idea.
But no. No i'm not.
This is nothing new and has been possible for literally years. All that changed is that you can now do it in an out of game browser.
Also you cannot constantly check prices, the cache limit is 5min on the market price api.
In the end the user still has to manually type in/submit the order. This is basic not so much different than the trade tools we currently have available to everyone
http://evernus.com/wp-content/uploads/2014/08/evernus-igb-full2.jpg
|
Jai Blaze
Honor Forge Joint Operation Involving Nobodys
3
|
Posted - 2016.08.21 17:23:32 -
[15] - Quote
Blacksmoke16 wrote:In the end the user still has to manually type in/submit the order. I can easily write a script with a few parameters to send an acceptable sell/buy value to my clipboard and all would need to be done would be to click, paste and hit enter.
Too easy to bot, and you seem fine with that. |
Blacksmoke16
Resilience.
23
|
Posted - 2016.08.21 19:01:43 -
[16] - Quote
Again, same as before, only thing that changed was you can now use out of game browser vs being stuck to the IGB for the JS methods. |
Jai Blaze
Honor Forge Joint Operation Involving Nobodys
3
|
Posted - 2016.08.21 21:24:56 -
[17] - Quote
Again, just because it's not being abused to the point of people being in an uproar about it now, doesn't mean it's a good idea and should stay as is until it does merit a larger more negative response. I'm capable of putting myself in a position to 'abuse' this because I've been learning to code a lot lately and I can bring this to the brink of botting while staying technically within the rules, and it would give me an unfair advantage.
Keyword 'unfair'. As much as I know I could benefit from this beyond sensible, it feels wrong, and I'm against it in its current form. |
Dragonaire
Here there be Dragons
89
|
Posted - 2016.08.24 19:17:41 -
[18] - Quote
Actually the chances at this point you'd have an 'unfair' advantage are fairly small as Blacksmoke16 has pointed out you've been able to do something like this for years now all that's been done is lower the bar to the programmers that can figure it out
Finds camping stations from the inside much easier.
Designer of Yapeal for the Eve API.
Check out the Yapeal PHP API Library thread.
|
Messenger Of Truth
Butlerian Crusade
53
|
Posted - 2016.08.24 22:40:20 -
[19] - Quote
eve mentat has had a feature where it copies the recommended price for an item to the clipboard for 5+ years...
Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck
Visit "Haulers Channel" in game for all matters courier-related.
Citadel API: stop.hammerti.me.uk/api
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |