TPolzer / Carnifex

put your ICPC contestants in their place
GNU General Public License v2.0
7 stars 3 forks source link

Support new CCS REST interface #23

Open meisterT opened 7 years ago

meisterT commented 7 years ago

We've standardized on a new REST API including event feed.

See https://clics.ecs.baylor.edu/index.php/Draft_CCS_REST_interface for the current specification.

If you support this, Carnifex will also work with Kattis.

meisterT commented 7 years ago

In the meantime, you can change the URLs in https://github.com/TPolzer/Carnifex/blob/master/src/score/client.go#L67 to read from api/v3/ instead of api/ to read the previous version of the API. (Or make that configurable.)

meisterT commented 5 years ago

FYI Our plan is to delete the v3/v4 versions of the API with our migration to symfony.

cc @NickyGerritsen

TPolzer commented 5 years ago

yes, I have a bit of second system syndrome going on here.

meisterT commented 5 years ago

Did you start implementing event-feed reading?

TPolzer commented 5 years ago

I started writing code in Haskell and protos (see the v2 branch), but I'm not sure that's a reasonable approach 😉 Probably needs to be thrown away.

On Fri, Apr 26, 2019, 21:22 Tobias Werth notifications@github.com wrote:

Did you start implementing event-feed reading?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TPolzer/Carnifex/issues/23#issuecomment-487172479, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSX4SRWD23CPIOFSEKHXXDPSNJBDANCNFSM4D7WC3YA .

Alicipy commented 5 years ago

Last winter I wrote a proxy that translates the V3 calls and processes the results. In this way, the Api compatibility problem can be avoided.

You can find it here: https://github.com/AliceMurray/Carniprox

Have fun!

meisterT commented 5 years ago

Half-yearly ping when the Regionals season is about to start