Pages: [1] 2 3 4 5 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 45 post(s) |
|
CCP QC
C C P C C P Alliance
11
|
Posted - 2013.07.11 11:48:00 -
[1] - Quote
Hi all!
As part of the upcoming Alliance Tournament, we will be making a small section of CREST available publicly. These endpoints do NOT require authentication and do NOT require a special license.
TL;DR: Get yourself a REST style browser plugin and head over to http://public-crest-duality.testeveonline.com/tournaments/
Some notes on this: 1) Halp, I clicked your link and my browser downloaded a weird file and I don't know what to do with it!!! The CREST resources aren't webpages. Due to how we use mediatypes (See 9 below) you will in general need to use a browser plugin to see the data. I use Postman in Chrome ( https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm ). Just head to whatever search engine you like and search for "MYBROWSER rest plugin" and you should be fine.
2) What do you aim to get from this experimental access? I'd like you guys to try it out and let us know what you think of it. Hopefully if this goes well we will be looking into adding other public endpoint to CREST, as we all wait for the full read/write access.
3) Will this endpoint be live past the AT? Not sure at this point. I hope so.
4) Will this be getting live data during the AT? Yes, it currently runs on Duality, the AT practice server, but will run on TQ for the actual tournament. Data is sourced directly from the actual game cluster, so data will update in real(ish) time.
5) Does it support write access? Nope. Public crest will of course never allow write access.
6) What information will be available: In short: the tournament structure, the teams composition, the match statistics and the per-pilot statistics.
7) Why can't I get to the /xxx/ endpoints? Currently the access is restricted to /tournaments/*, everything else is going to 404. We will hopefully be lifting some of these restriction after the AT, as we assess how this went.
8) What the hell are all those "_str" fields?! Whilst JSON does support sending down 64 bit numbers, javascript doesn't play nicely with them. In order to help support Javascript clients, we thus add the "_str" member next to all fields marked as Numbers. Eve has a lot of 64 bit IDs, sometimes appearing in the weirdest of places, so we played it safe. However, we are looking into only returing those extra attributes if requested by the client. More on that later. See: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf for the gory details on how JS represents Numbers internally.
9) What are those weird Content-Type header values I'm seeing? CREST transfers resources (a tournament, a team, etc) as versionned representation. These representation are indicated using mediatypes. Requesting /tournaments/1/ will give you a "application/vnd.ccp.eve.Tournament-v1+json". Should we need to make non-backwards compatible changes, we would then introduce "application/vnd.ccp.eve.Tournament-v2+json". The URL wouldn't change, only the content-type and the actual content. Client are free to request whichever version they want using the accept header. (I could add a fake v2 of something under /tournaments/ for you guys to experiment with, if you would like)
10) I'm getting 502 errors! Very likely the cluster is currently down. Try again later =)
11) I'm getting 503 errors! You probably requested too fast. Wait a minute and try again. I'll be tweaking throttling parameters over the coming days, so I can't give exact values for this.
|
|
|
CCP FoxFour
C C P C C P Alliance
2571
|
Posted - 2013.07.11 11:56:00 -
[2] - Quote
CANNOT LIKE ENOUGH! Game Designer | Team True Grit |
|
Two step
Aperture Harmonics K162
3864
|
Posted - 2013.07.11 12:17:00 -
[3] - Quote
Pretty neat stuff, and I am hopeful this is the beginning of the long awaited CREST rollout.... :) CSM 7 Secretary CSM 6 Alternate Delegate @two_step_eve on Twitter My Blog
|
Chitsa Jason
Infinity Explorers Exhale.
602
|
Posted - 2013.07.11 12:19:00 -
[4] - Quote
Its alive!!! CSM8 Member Twitter:-á@ChitsaJason Skype: Casparas
|
local009
Red Federation RvB - RED Federation
6
|
Posted - 2013.07.11 12:26:00 -
[5] - Quote
*doing a jiggy jive dance around his work place*
FINALLY something to play with! \o/
*heads back to work....* |
HVAC Repairman
GoonWaffe Goonswarm Federation
567
|
Posted - 2013.07.11 12:29:00 -
[6] - Quote
didnt want the old API system anyways Follow me on twitter |
Ferria
BetaMax. CRONOS.
12
|
Posted - 2013.07.11 12:45:00 -
[7] - Quote
so, QC, about Crest, and Dust, and things, anymore info.
On topic, Sweet, thanks |
|
CCP QC
C C P C C P Alliance
16
|
Posted - 2013.07.11 15:43:00 -
[8] - Quote
Ferria wrote:so, QC, about Crest, and Dust, and things, anymore info.
On topic, Sweet, thanks
I'd say this is the first roll out of CREST. As far as Dust is concerned, I hope to give the Dust devs public crest capability right after the tournament. CCP Nullarbor just can't wait to get his hands on this, so I'd expect some goodies to come soon(ish) |
|
Oxandrolone
Bite Me inc Bitten.
206
|
Posted - 2013.07.11 15:48:00 -
[9] - Quote
what type of tools do you think this will enable people to build
(I know only very basic c programming and have absolutely no imagination)
Ones that pull statistics about the tournament maybe? |
|
CCP QC
C C P C C P Alliance
16
|
Posted - 2013.07.11 15:57:00 -
[10] - Quote
Oxandrolone wrote:what type of tools do you think this will enable people to build
(I know only very basic c programming and have absolutely no imagination)
Ones that pull statistics about the tournament maybe?
Likely something like that. One could pull all the data about a tournament, or a match, and display it. Could also make a tool that fetches what other teams are flying and catalog their setups. Or make an app that queries the prices of stuff people are flying and take bets on how much they'll loose. Sky is the limit.
But really, this is to get some input from devs with respect to the style of API that is CREST. And also to see what happens when I give the world an unrestricted CREST box =) |
|
|
|
CCP Nullarbor
C C P C C P Alliance
530
|
Posted - 2013.07.11 15:59:00 -
[11] - Quote
CCP QC wrote:Ferria wrote:so, QC, about Crest, and Dust, and things, anymore info.
On topic, Sweet, thanks I'd say this is the first roll out of CREST. As far as Dust is concerned, I hope to give the Dust devs public crest capability right after the tournament. CCP Nullarbor just can't wait to get his hands on this, so I'd expect some goodies to come soon(ish)
Yes please CCP Nullarbor | Exotic Dancer |
|
Marcel Devereux
Aideron Robotics
239
|
Posted - 2013.07.11 16:00:00 -
[12] - Quote
Nice way to sneak CREST out! Awesome work guys! I can't wait to see more! |
Luigi Thirty
GoonWaffe Goonswarm Federation
29
|
Posted - 2013.07.11 17:11:00 -
[13] - Quote
Why are you using your own MIME type instead of application/json? Why are you using nginx 1.2 which has more holes than a golf course? |
|
CCP QC
C C P C C P Alliance
17
|
Posted - 2013.07.11 17:16:00 -
[14] - Quote
Luigi Thirty wrote:Why are you using your own MIME type instead of application/json? Why are you using nginx 1.2 which has more holes than a golf course?
We use our own mime type to support being asked for different version of a resource by the clients. By sending in an accept header with the correct mimetype, say "application/vnd.eve.ccp.Tournament-v1" the server knows to return you that particular version. It allows us to release new versions of these resource and your client will keep working as long as we support the version you want. Asking the server with an accept header that doesn't match returns you the latest version of a particular resource.
We use our own magical build of nginx, which we are in the process of upgrading to latest =) |
|
Tarsas Phage
Freight Club
211
|
Posted - 2013.07.11 18:23:00 -
[15] - Quote
CCP QC wrote:Luigi Thirty wrote:Why are you using your own MIME type instead of application/json? Why are you using nginx 1.2 which has more holes than a golf course? We use our own mime type to support being asked for different version of a resource by the clients. By sending in an accept header with the correct mimetype, say "application/vnd.eve.ccp.Tournament-v1" the server knows to return you that particular version. It allows us to release new versions of these resource and your client will keep working as long as we support the version you want.
I presume this will be done via a Accept-Encoding header in the client's request?
Also, will you be sending proper cache control headers in the responses? |
|
CCP QC
C C P C C P Alliance
18
|
Posted - 2013.07.11 18:45:00 -
[16] - Quote
Tarsas Phage wrote:CCP QC wrote:Luigi Thirty wrote:Why are you using your own MIME type instead of application/json? Why are you using nginx 1.2 which has more holes than a golf course? We use our own mime type to support being asked for different version of a resource by the clients. By sending in an accept header with the correct mimetype, say "application/vnd.eve.ccp.Tournament-v1" the server knows to return you that particular version. It allows us to release new versions of these resource and your client will keep working as long as we support the version you want. I presume this will be done via a Accept-Encoding header in the client's request? Also, will you be sending proper cache control headers in the responses?
Done via the Accept header of the client request actually. We leave accept encoding alone so client can request compression if desired.
Yep. |
|
Marcel Devereux
Aideron Robotics
239
|
Posted - 2013.07.11 18:53:00 -
[17] - Quote
I just want to respond again to tell you how floored I am about this. The tournaments API isn't something that we have been asking for, nor is it something that I am going to use right now, but it is still great! Giving the players access to live data is awesome! I can't wait to see more. Keep up the good work! |
Theon Severasse
SniggWaffe YOUR VOTES DON'T COUNT
16
|
Posted - 2013.07.12 10:07:00 -
[18] - Quote
For someone who doesn't have much experience working with this stuff (basically none ), is there an easy way of navigating through this stuff?
Specifically I was wanting to look at the results of the mock testing that happened the other week, but I honestly have no idea how to find it. |
|
CCP FoxFour
C C P C C P Alliance
2573
|
Posted - 2013.07.12 10:31:00 -
[19] - Quote
Theon Severasse wrote:For someone who doesn't have much experience working with this stuff (basically none ), is there an easy way of navigating through this stuff? Specifically I was wanting to look at the results of the mock testing that happened the other week, but I honestly have no idea how to find it.
CCP QC wrote:Some notes on this: 1) Halp, I clicked your link and my browser downloaded a weird file and I don't know what to do with it!!!The CREST resources aren't webpages. Due to how we use mediatypes (See 9 below) you will in general need to use a browser plugin to see the data. I use Postman in Chrome ( https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm ). Just head to whatever search engine you like and search for "MYBROWSER rest plugin" and you should be fine.
Install that extension for Chrome, or another one for your browser, open it, and give it the URL of: http://public-crest-duality.testeveonline.com/tournaments/ Game Designer | Team True Grit |
|
Salpun
Paramount Commerce
526
|
Posted - 2013.07.12 11:55:00 -
[20] - Quote
Just messing around with it. Finding the information you need to recreate what happened seems to be a daunting task. How close can some one get to re creating the broadcast UI in real time can some one get? The info to recreate the tournament broadcast UI data is all over the place.
Using the link you gave us in a reader just gives us a list of the data sets but does not give us the current key. |
|
|
Chribba
Otherworld Enterprises Otherworld Empire
8863
|
Posted - 2013.07.12 12:09:00 -
[21] - Quote
Lovely!
|
|
|
CCP Veritas
C C P C C P Alliance
786
|
Posted - 2013.07.12 12:15:00 -
[22] - Quote
Salpun wrote:Just messing around with it. Finding the information you need to recreate what happened seems to be a daunting task. How close can some one get to re creating the broadcast UI in real time can some one get? The info to recreate the tournament broadcast UI data is all over the place.
Using the link you gave us in a reader just gives us a list of the data sets but does not give us the current key. I haven't got everything in there needed to fully recreate the broadcast UI - I'll keep that in mind for the next iteration. Most of what is available in that vein is in the match's pilotStats URL, like for instance:
http://public-crest-duality.testeveonline.com/tournaments/2/series/0/matches/0/pilotstats/ Add in the info from the match itself: http://public-crest-duality.testeveonline.com/tournaments/2/series/0/matches/0/ and you should be pretty much set.
At least, after I'm done updating Duality with my latest. ETA 20min. CCP Veritas - Senior Programmer - EVE Software |
|
Salpun
Paramount Commerce
528
|
Posted - 2013.07.12 12:39:00 -
[23] - Quote
CCP Veritas wrote:Salpun wrote:Just messing around with it. Finding the information you need to recreate what happened seems to be a daunting task. How close can some one get to re creating the broadcast UI in real time can some one get? The info to recreate the tournament broadcast UI data is all over the place.
Using the link you gave us in a reader just gives us a list of the data sets but does not give us the current key. I haven't got everything in there needed to fully recreate the broadcast UI - I'll keep that in mind for the next iteration. Most of what is available in that vein is in the match's pilotStats URL, like for instance: http://public-crest-duality.testeveonline.com/tournaments/2/series/0/matches/0/pilotstats/Add in the info from the match itself: http://public-crest-duality.testeveonline.com/tournaments/2/series/0/matches/0/and you should be pretty much set. At least, after I'm done updating Duality with my latest. ETA 20min. Thanks for the info. The data will be used most likely to create match history's and mobile game updates like what ESPN and other sport sites have for those that cannot watch the stream. So it needs ship death time and kill mail info link so relation ships can be auto generated. like "early game frig fight results in two deaths for team blue" for an example.
Full UI info would be best though |
|
CCP Veritas
C C P C C P Alliance
786
|
Posted - 2013.07.12 12:41:00 -
[24] - Quote
I might have time to give it another pass next week, I need to finish up some things that are hard requirements for the tournament to run first ;)
Those are some great ideas for things to add though, thanks! CCP Veritas - Senior Programmer - EVE Software |
|
Theon Severasse
SniggWaffe YOUR VOTES DON'T COUNT
16
|
Posted - 2013.07.12 14:10:00 -
[25] - Quote
CCP FoxFour wrote:Theon Severasse wrote:For someone who doesn't have much experience working with this stuff (basically none ), is there an easy way of navigating through this stuff? Specifically I was wanting to look at the results of the mock testing that happened the other week, but I honestly have no idea how to find it. CCP QC wrote:Some notes on this: 1) Halp, I clicked your link and my browser downloaded a weird file and I don't know what to do with it!!!The CREST resources aren't webpages. Due to how we use mediatypes (See 9 below) you will in general need to use a browser plugin to see the data. I use Postman in Chrome ( https://chrome.google.com/webstore/detail/postman-rest-client/fdmmgilgnpjigdojojpjoooidkmcomcm ). Just head to whatever search engine you like and search for "MYBROWSER rest plugin" and you should be fine. Install that extension for Chrome, or another one for your browser, open it, and give it the URL of: http://public-crest-duality.testeveonline.com/tournaments/
Yeah I had already installed that and stuff, but once I'm on there I'm not really sure where I would be meant to go.
Like I said, I'm a complete noob at this
I guess I need to get about learning JSON haha |
Makari Aeron
The Shadow's Of Eve TSOE Consortium
63
|
Posted - 2013.07.12 14:20:00 -
[26] - Quote
I look forward to this. CREST makes me happy in the pants. And what other place is better to be happy than there? ;) As for those new to JSON, I would recommend picking your favorite language and learning to serialize and deserialize JSON. IF you use .NET, I would highly recommend JSON.NET because M$'s one kinda sucks. And by kinda sucks, I mean almost as bad as that Revenant loss. Python 2.7 and 3.x have pretty darn good native methods. As does PHP CCP RedDawn: Ugly people are just playing life on HARD mode. Personally, I'm playing on an INFERNO difficulty...
|
|
CCP Seagull
C C P C C P Alliance
207
|
Posted - 2013.07.12 15:28:00 -
[27] - Quote
I'm super excited to see this in motion, and I keep working to get all the other bits in place for Single Sign On and authenticated CREST access for 3rd party devs. (Developer pages and the Developer License). As you know it is taking longer than planned at the start of the project, but we are steadily working towards getting more and more of this in your hands.
/CCP Seagull Senior Producer, EVE Online Development CCP Games Reykjavik |
|
|
CCP Delegate Zero
C C P C C P Alliance
59
|
Posted - 2013.07.12 15:52:00 -
[28] - Quote
It begins.
CCP Delegate Zero | Content Editor | EVE Illuminati | @CCPDelegateZero |
|
Mikron Alexarr
New Age Solutions
87
|
Posted - 2013.07.12 19:07:00 -
[29] - Quote
*pulls down the latest JDK*
-Android engaged- |
Chimordy
Genstar Inc Villore Accords
0
|
Posted - 2013.07.12 19:42:00 -
[30] - Quote
Makari Aeron wrote:I look forward to this. CREST makes me happy in the pants. And what other place is better to be happy than there? ;) As for those new to JSON, I would recommend picking your favorite language and learning to serialize and deserialize JSON. IF you use .NET, I would highly recommend JSON.NET because M$'s one kinda sucks. And by kinda sucks, I mean almost as bad as that Revenant loss. Python 2.7 and 3.x have pretty darn good native methods. As does PHP
Jackson or GSON work well in the Java world for the JSON serialize/deserialize
Jackson GSON
CREST looks great so far!!!
|
|
|
|
|
Pages: [1] 2 3 4 5 :: one page |
First page | Previous page | Next page | Last page |