Pages: 1 2 3 4 5 [6] 7 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 53 post(s) |
Nthanda Sithembile
Traknob
0
|
Posted - 2014.12.09 19:55:46 -
[151] - Quote
That part, about creating/registering the app I figured out, but if I get the following message
{"message": "Authentication scope needed", "key": "authNeeded", "exceptionType": "UnauthorizedError"} then that's because its not there yet?
talking about this example
GET /market/10000002/orders/buy/?type=https://api-sisi.testeveonline.com/types/683/ HTTP/1.1 Host: https://api-sisi.testeveonline.com Authorization: Bearer jKVB8oaN9qboU5kQG4sWSoWxzSUaFkQaUyeisy8jWU3apRfYSgYsKpZGNbLh41xXEzuy-NDBX1FohEdEadaukQ2 Accept: application/vnd.ccp.eve.MarketOrderCollection-v1+json |
Fifth Blade
The Nyan Cat Pirates Disband.
38
|
Posted - 2014.12.09 20:43:32 -
[152] - Quote
Nthanda Sithembile wrote:That part, about creating/registering the app I figured out, but if I get the following message
--- snip --- You might want to remove your private crest key from the public forums..... |
Kaladr
Eventually Consistent
44
|
Posted - 2014.12.09 20:57:00 -
[153] - Quote
Thankfully expired after 5 minutes :-)
Creator of EVE-Central.com, the longest running EVE Market Aggregator
|
Nthanda Sithembile
Traknob
0
|
Posted - 2014.12.09 21:11:25 -
[154] - Quote
It's just copy/pasted from the article, it ain't mine ;)
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4431
|
Posted - 2014.12.09 21:15:44 -
[155] - Quote
Nthanda Sithembile wrote:That part, about creating/registering the app I figured out, but if I get the following message {"message": "Authentication scope needed", "key": "authNeeded", "exceptionType": "UnauthorizedError"} then that's because its not there yet? talking about this example GET /market/10000002/orders/buy/?type=https://api-sisi.testeveonline.com/types/683/ HTTP/1.1 Host: https://api-sisi.testeveonline.com Authorization: Bearer jKVB8oaN9qboU5kQG4sWSoWxzSUaFkQaUyeisy8jWU3apRfYSgYsKpZGNbLh41xXEzuy-NDBX1FohEdEadaukQ2 Accept: application/vnd.ccp.eve.MarketOrderCollection-v1+json
When you sent the request over to the login server, did you fill in the scope? (you probably didn't)
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Nthanda Sithembile
Traknob
0
|
Posted - 2014.12.09 21:42:11 -
[156] - Quote
Thanks Steve, that was it. I missed out reading this
Kali Izia wrote:Initially you follow the same flow as the normal SSO auth with these differences: 1. On your call to /oauth/authorize, set your scope to "publicData" 2. On your call to /oauth/token, you now get a refresh_token in the response 3. On future calls to /oauth/token, you can use the refresh token by changing the grant_type to "refresh_token", and send the token in a "refresh_token" variable rather than a "code" So instead of this: POST https://sisilogin.testeveonline.com/oauth/token
grant_type=authorization_code&code=xxx You do this: POST https://sisilogin.testeveonline.com/oauth/token
grant_type=refresh_token&refresh_token=yyy 4. When accessing the CREST resource, just include your "Authorization: Bearer $access_token" header |
Thrad Markner
Center for Advanced Studies Gallente Federation
0
|
Posted - 2014.12.10 02:58:35 -
[157] - Quote
Super happy about this! One quick question: what is the "right" way to get the system that a buy/sell order is in? Obviously I can just parse the station name string (assuming it continues to be the case that systems never contain a space in their name...), but that feels rather wrong and un-RESTy |
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4435
|
Posted - 2014.12.10 03:43:35 -
[158] - Quote
Thrad Markner wrote:Super happy about this! One quick question: what is the "right" way to get the system that a buy/sell order is in? Obviously I can just parse the station name string (assuming it continues to be the case that systems never contain a space in their name...), but that feels rather wrong and un-RESTy
For now, parsing out the location id from the href, then looking it up in the SDE for the station, works.
It's far from an ideal situation.
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
Ydnari
Estrale Frontiers Project Wildfire
394
|
Posted - 2014.12.19 21:51:59 -
[159] - Quote
Pete Butcher wrote:Any last chance for location and solar system ids (and volume entered)? After all, you already have that data - just add "id": to those elements.
Did anyone get an answer about volume entered? Been asked several times, don't recall seeing any response.
It's not functionally equivalent to the in-game market export to file, or to the cache scraping it's supposed to replace, without it.
my teapot is ready
|
Kaladr
Eventually Consistent
45
|
Posted - 2014.12.20 02:51:05 -
[160] - Quote
I got an out of band reply that it will re-appear in the next 1-2 releases.
Creator of EVE-Central.com, the longest running EVE Market Aggregator
|
|
Cadiz Aragon
Dirt Nap Squad Dirt Nap Squad.
8
|
Posted - 2014.12.22 04:16:21 -
[161] - Quote
Steve Ronuken wrote:Thrad Markner wrote:Super happy about this! One quick question: what is the "right" way to get the system that a buy/sell order is in? Obviously I can just parse the station name string (assuming it continues to be the case that systems never contain a space in their name...), but that feels rather wrong and un-RESTy For now, parsing out the location id from the href, then looking it up in the SDE for the station, works. It's far from an ideal situation.
Yeah, I kinda have a follow up question around this. What are we supposed to use as the "primary key" for resources / objects in CREST? Seems like the href is being used in this regard, but that can change at any point if they decide to change routes, and the 'name' property can also be changed at any point as they rebalance modules, etc. The SDE is built around the 64bit Id as the primary key for objects but that doesn't seem to be readily available in CREST without making some assumption on route URL construction which is precisely the thing that CCP is telling us not to do. |
SJ Astralana
Syncore
89
|
Posted - 2015.01.08 10:17:51 -
[162] - Quote
It's pretty screwed up that 3rd party devs are the only reliable source of information. I mean seriously, if an href can't possibly work, don't expose it. There are too many instances of additional calls made necessary due to a mongoloid sense of academic purity. If a friendly name is provided, it goes without saying that its canonical ID gets populated alongside it, except apparently in this case it has to be said anyway. WTF.
Hyperdrive your production business: Eve Production Manager
|
Steve Ronuken
Fuzzwork Enterprises Vote Steve Ronuken for CSM
4659
|
Posted - 2015.01.08 10:22:44 -
[163] - Quote
If you follow Foxfour on Twitter, you'll know that IDs are being added into the representation, in the next release.
Woo! CSM 9!
Fuzzwork Enterprises
Twitter: @fuzzysteve on Twitter
|
SJ Astralana
Syncore
89
|
Posted - 2015.01.08 10:32:09 -
[164] - Quote
Steve Ronuken wrote:If you follow Foxfour on Twitter, you'll know that IDs are being added into the representation, in the next release.
Yet more crucial information coming from a 3rd party dev not available or at best not discoverable on the official site.
Hyperdrive your production business: Eve Production Manager
|
Pete Butcher
Kiss My Shiny Metal Ass
266
|
Posted - 2015.01.08 11:04:53 -
[165] - Quote
I have to agree with SJ Astralana. Note that there isn't even a list of available CREST endpoints anywhere on the dev site. If a person likes to start working with CREST, there is literally zero info about what can be done. We only have https://developers.eveonline.com/resource/crest which isn't much interesting and https://developers.eveonline.com/resource/crest/public-crest - seriously, a page named "public CREST" has literally 3 lines of text with two limits enumerated. If not https://neweden-dev.com/Main_Page there would not be a way to even start EVE 3rd party development.
The developers page is good at making announcements about new features and changes, but that's about it and it's a shame. Life would be a whole lot easier of neweden-dev was simply copy-pasted there.
http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool + Trade Advisor
|
|
CCP FoxFour
C C P C C P Alliance
3806
|
Posted - 2015.01.08 11:28:03 -
[166] - Quote
SJ Astralana wrote:Steve Ronuken wrote:If you follow Foxfour on Twitter, you'll know that IDs are being added into the representation, in the next release. Yet more crucial information coming from a 3rd party dev not available or at best not discoverable on the official site. Reading 8 pages filled primarily with setup requests for the two posts that are relevant because the docs are dead on arrival is completely stupid.
I have a dev blog in the system waiting for approval with details on this very change. So... yea... /shrug
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
|
CCP FoxFour
C C P C C P Alliance
3806
|
Posted - 2015.01.08 11:30:20 -
[167] - Quote
Pete Butcher wrote:I have to agree with SJ Astralana. Note that there isn't even a list of available CREST endpoints anywhere on the dev site. If a person likes to start working with CREST, there is literally zero info about what can be done. We only have https://developers.eveonline.com/resource/crest which isn't much interesting and https://developers.eveonline.com/resource/crest/public-crest - seriously, a page named "public CREST" has literally 3 lines of text with two limits enumerated. If not https://neweden-dev.com/Main_Page there would not be a way to even start EVE 3rd party development. The developers page is good at making announcements about new features and changes, but that's about it and it's a shame. Life would be a whole lot easier of neweden-dev was simply copy-pasted there.
Improving our documentation is on my list for the beginning of this year. Actually, as stated in my last dev blog (https://developers.eveonline.com/blog/article/december-2014-third-party-developer-update), most the beginning of this year will be spent on behind the scene changes along with improving the support we offer you guys rather tan feature improvements to CREST of the XML API itself.
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
SJ Astralana
Syncore
89
|
Posted - 2015.01.08 11:59:20 -
[168] - Quote
Anyone up for a comedy moment? The following uri works, which seems to imply the API itself does uri deconstruction.
https://crest-tq.eveonline.com/market/80006047/orders/sell//?type=https://api.eveonilne.com/types/34/
If you can't quite read it, eveonline is misspelled.
Hyperdrive your production business: Eve Production Manager
|
Pete Butcher
Kiss My Shiny Metal Ass
266
|
Posted - 2015.01.08 12:13:54 -
[169] - Quote
I wonder why the buy/sell url don't follow the item history pattern:
https://crest-tq.eveonline.com/market/80006047/types/12345/history/
It would be much simpler to just return the https://crest-tq.eveonline.com/market/XYZ/types/ generic endpoint url for each region and append the type and data required, eg.:
https://crest-tq.eveonline.com/market/80006047/types/12345/buy/
http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool + Trade Advisor
|
|
CCP FoxFour
C C P C C P Alliance
3809
|
Posted - 2015.01.08 12:15:51 -
[170] - Quote
Because the history resource was done by me while I was still wrapping my head around CREST. I plan on changing it to conform to the same pattern as the buy and sell orders.
Also, we never want you guys to construct URIs (again, the history thing is not done to CREST standards and thats my fault). If we did it your way, and kept with the idea of applications never constructing URIs, then we would have to provide a link to to every type for every region.
By doing it the way we have, we provide a link to every time once, and then a link to every regions buy orders. You then do the match with query parameters and never do any manipulation of the URI.
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
|
Pete Butcher
Kiss My Shiny Metal Ass
266
|
Posted - 2015.01.08 15:28:27 -
[171] - Quote
CCP FoxFour wrote:Because the history resource was done by me while I was still wrapping my head around CREST. I plan on changing it to conform to the same pattern as the buy and sell orders. Also, we never want you guys to construct URIs (again, the history thing is not done to CREST standards and thats my fault). If we did it your way, and kept with the idea of applications never constructing URIs, then we would have to provide a link to to every type for every region. By doing it the way we have, we provide a link to every time once, and then a link to every regions buy orders. You then do the match with query parameters and never do any manipulation of the URI.
Sounds reasonable. Glad to see everything will be consistent. Do you know when this change will approx. be live?
http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool + Trade Advisor
|
|
CCP FoxFour
C C P C C P Alliance
3809
|
Posted - 2015.01.08 15:43:48 -
[172] - Quote
Pete Butcher wrote:CCP FoxFour wrote:Because the history resource was done by me while I was still wrapping my head around CREST. I plan on changing it to conform to the same pattern as the buy and sell orders. Also, we never want you guys to construct URIs (again, the history thing is not done to CREST standards and thats my fault). If we did it your way, and kept with the idea of applications never constructing URIs, then we would have to provide a link to to every type for every region. By doing it the way we have, we provide a link to every time once, and then a link to every regions buy orders. You then do the match with query parameters and never do any manipulation of the URI. Sounds reasonable. Glad to see everything will be consistent. Do you know when this change will approx. be live?
I will probably add the new resource in the February release and mark the existing one as deprecated at the same time. Then at a later date remove the existing one. Yay for proper deprecation support! :D
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
|
CCP FoxFour
C C P C C P Alliance
3814
|
Posted - 2015.01.09 14:26:57 -
[173] - Quote
SJ Astralana wrote:Steve Ronuken wrote:If you follow Foxfour on Twitter, you'll know that IDs are being added into the representation, in the next release. Yet more crucial information coming from a 3rd party dev not available or at best not discoverable on the official site. Reading 8 pages filled primarily with setup requests for the two posts that are relevant because the docs are dead on arrival is completely stupid.
See this dev blog for this "crucial information": https://developers.eveonline.com/blog/article/a-quick-update-to-market-orders
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Pete Butcher
Kiss My Shiny Metal Ass
266
|
Posted - 2015.01.09 15:41:58 -
[174] - Quote
CCP FoxFour wrote:SJ Astralana wrote:Steve Ronuken wrote:If you follow Foxfour on Twitter, you'll know that IDs are being added into the representation, in the next release. Yet more crucial information coming from a 3rd party dev not available or at best not discoverable on the official site. Reading 8 pages filled primarily with setup requests for the two posts that are relevant because the docs are dead on arrival is completely stupid. See this dev blog for this "crucial information": https://developers.eveonline.com/blog/article/a-quick-update-to-market-orders
Finally no more url parsing Do we need to switch from application/vnd.ccp.eve.MarketOrderCollection-v1+json to another version?
http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool + Trade Advisor
|
|
CCP FoxFour
C C P C C P Alliance
3815
|
Posted - 2015.01.09 15:59:11 -
[175] - Quote
Pete Butcher wrote:CCP FoxFour wrote:SJ Astralana wrote:Steve Ronuken wrote:If you follow Foxfour on Twitter, you'll know that IDs are being added into the representation, in the next release. Yet more crucial information coming from a 3rd party dev not available or at best not discoverable on the official site. Reading 8 pages filled primarily with setup requests for the two posts that are relevant because the docs are dead on arrival is completely stupid. See this dev blog for this "crucial information": https://developers.eveonline.com/blog/article/a-quick-update-to-market-orders Finally no more url parsing Do we need to switch from application/vnd.ccp.eve.MarketOrderCollection-v1+json to another version?
No as this is a backwards compatible change the version number was not bumped. :)
@CCP_FoxFour // Technical Designer // Team Size Matters
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Pete Butcher
Kiss My Shiny Metal Ass
266
|
Posted - 2015.01.13 12:25:27 -
[176] - Quote
Small request - can we also have solar system id in the order data? Right now it takes a trip to the DB to query this based on the location id, and with the wacky location id mapping in the DB, it's really not fun.
http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool + Trade Advisor
|
Darg Tarias
The Scope Gallente Federation
0
|
Posted - 2015.03.08 06:05:30 -
[177] - Quote
Sign me up too please.
app: MarketAPITestApp3 id: fc3137f9064f43c18fc140edfec8313c |
Jonas Altol
Natural Born Killers New
5
|
Posted - 2015.03.31 13:27:42 -
[178] - Quote
How do I get and/or generate a name/id pair so I can sign up for this too? |
Kali Izia
GoomWaffe Goonswarm Federation
40
|
Posted - 2015.03.31 13:35:46 -
[179] - Quote
You don't need to sign up in this thread anymore, it's been live for awhile now.
Either log in to https://developers.eveonline.com/ (TQ) or http://developers.testeveonline.com/ (Sisi), create a new application with CREST Access, and add the publicData scope. |
Jonas Altol
Natural Born Killers New
5
|
Posted - 2015.03.31 13:41:34 -
[180] - Quote
Thank you! Will this give me market data access - i.e., what this thread is about? |
|
|
|
|
Pages: 1 2 3 4 5 [6] 7 :: one page |
First page | Previous page | Next page | Last page |