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.
 

CREST experimental access for the Alliance Tournament

First post First post
Author
Chribba
Otherworld Enterprises
Otherworld Empire
#21 - 2013-07-12 12:09:41 UTC
Lovely!

★★★ Secure 3rd party service ★★★

Visit my in-game channel 'Holy Veldspar'

Twitter @ChribbaVeldspar

CCP Veritas
C C P
C C P Alliance
#22 - 2013-07-12 12:15:06 UTC
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 - Technical Director - EVE Online

Salpun
Global Telstar Federation Offices
Masters of Flying Objects
#23 - 2013-07-12 12:39:12 UTC
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 thoughBig smile

If i dont know something about EVE. I check https://wiki.eveonline.com/en/wiki/ISK_The_Guide

See you around the universe.

CCP Veritas
C C P
C C P Alliance
#24 - 2013-07-12 12:41:46 UTC
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 - Technical Director - EVE Online

Theon Severasse
The Scope
Gallente Federation
#25 - 2013-07-12 14:10:02 UTC
CCP FoxFour wrote:
Theon Severasse wrote:
For someone who doesn't have much experience working with this stuff (basically none Blink), 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 Oops

I guess I need to get about learning JSON haha
Makari Aeron
Imperial Shipment
Amarr Empire
#26 - 2013-07-12 14:20:13 UTC  |  Edited by: Makari Aeron
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 Goliath: I often believe that the best way to get something done is to shout at the person trying to help you. http://goo.gl/PKGDP

CCP Seagull
C C P
C C P Alliance
#27 - 2013-07-12 15:28:43 UTC
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
#28 - 2013-07-12 15:52:08 UTC
Smile

It begins.

Pirate

CCP Delegate Zero | Content Designer - Writer | @CCPDelegateZero

Mikron Alexarr
New Age Solutions
#29 - 2013-07-12 19:07:04 UTC
*pulls down the latest JDK*

-Android engaged-
Chimordy
Garoun Investment Bank
Gallente Federation
#30 - 2013-07-12 19:42:17 UTC
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!!! Big smile
Makari Aeron
Imperial Shipment
Amarr Empire
#31 - 2013-07-12 19:52:41 UTC
CCP Seagull wrote:
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


And THAT is what I'd like to see the most. Not a fan of the API keys that have the ability to be cracked and have people gain access to stuff they shouldn't. JSON is nice and user friendly. Hopefully, the SSO tokens will be just as easy to process and verify. I may actually start making EVE sites/apps.

CCP RedDawn: Ugly people are just playing life on HARD mode. Personally, I'm playing on an INFERNO difficulty.

CCP Goliath: I often believe that the best way to get something done is to shout at the person trying to help you. http://goo.gl/PKGDP

Lors Dornick
Kallisti Industries
#32 - 2013-07-13 02:11:52 UTC
CCP Delegate Zero wrote:
Smile

It begins.

Pirate

Tsk tsk.

Bad nerd.

And so it begins

CCP Greyscale: As to starbases, we agree it's pretty terrible, but we don't want to delay the entire release just for this one factor.

CCP Veritas
C C P
C C P Alliance
#33 - 2013-07-13 12:26:25 UTC
Bans are no longer WIP

CCP Veritas - Technical Director - EVE Online

Mikron Alexarr
New Age Solutions
#34 - 2013-07-15 18:28:14 UTC
Quote:
"{
"message": "The route /tournaments/2/series/0 was not found, did you forget the trailing slash?",
"key": "routeMissing",
"exceptionType": "NotFoundError"
}"


thank you so much for this!
CCP QC
C C P
C C P Alliance
#35 - 2013-07-16 12:51:39 UTC
Mikron Alexarr wrote:
Quote:
"{
"message": "The route /tournaments/2/series/0 was not found, did you forget the trailing slash?",
"key": "routeMissing",
"exceptionType": "NotFoundError"
}"


thank you so much for this!


No problem =)
Mikron Alexarr
New Age Solutions
#36 - 2013-07-16 14:11:58 UTC
CCP QC wrote:
Hi all!

... stuff ...

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.

Disclaimers: (also edit!)
Please note that we are actively working on the tournaments/* endpoints. They are liable to change with no prior notice. They should also be quite stable before we reach TQ.


Will the headers contain anything about how often we should be requesting? I noticed a max-life of 5 seconds. Will this change? Be present on all endpoints? Also, docs?
CCP QC
C C P
C C P Alliance
#37 - 2013-07-16 14:27:31 UTC
Docs are coming.

For how fast you can query, ideally don't request the same endpoint until at least max-age as passed, you'd get the same reply anyway, so there is really no reason. Apart from that just slow down if you get 503'd.



Mikron Alexarr
New Age Solutions
#38 - 2013-07-16 17:55:44 UTC
CCP QC wrote:
Docs are coming.

For how fast you can query, ideally don't request the same endpoint until at least max-age as passed, you'd get the same reply anyway, so there is really no reason. Apart from that just slow down if you get 503'd.





ah, sorry. I thought I saw some pages without the max-age field.

This is only my second real attempt at a web app (bear with me please!). I was going to try to do some testing and see how often things changed and what I might have to account for. I didn't know if there was a discrete interval on which all endpoints were updated or if an endpoint would reflect a change as soon as it happened. I remember reading something (could be totally wrong here) awhile back about how calls to the eve API would only return data once in a particular interval and so responses had to be cached. So the plan for my app, given the transient nature of android apps was to setup a very simple SQLight DB to persist and read responses rather than relying on android to not nuke my app while it was in the background.

But I suppose this will all be covered in the docs. I'm still learning about Android and exploring my options, so I'm not in a terrible rush.
Kid Delicious
Caldari Provisions
Caldari State
#39 - 2013-07-17 14:29:37 UTC  |  Edited by: Kid Delicious
Did some brackets for the tournament based on this (match and team pages also). Hopefully everything works out when it gets going.


edit:

http://public-crest-duality.testeveonline.com/tournaments/1/pilots/92532513/
oh, whats the deal with this endpoint? Can't get anything but errors with it (tried multiple pilot/tournament combos)
CCP Veritas
C C P
C C P Alliance
#40 - 2013-07-17 15:19:11 UTC
Kid Delicious wrote:
Did some brackets for the tournament based on this (match and team pages also). Hopefully everything works out when it gets going.


edit:

http://public-crest-duality.testeveonline.com/tournaments/1/pilots/92532513/
oh, whats the deal with this endpoint? Can't get anything but errors with it (tried multiple pilot/tournament combos)

Nice site dude!

I just looked into the error on that endpoint, appears to be a source control screwup on my part. I've injected the missing attributes live, naturally they won't have proper stats but at least it won't be erroring.

I'll be sure the proper version is on there the next time I reboot Duality, which'll either be tomorrow morning or real soon depending on what else I find missing...

CCP Veritas - Technical Director - EVE Online