Skip to content
Java client API for Google Code Jam contest
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
javadoc/fr/faylixe/googlecodejam/client
src
.gitignore
.travis.yml
CHANGELOG.md
LICENCE
README.md
pom.xml

README.md

Google Code Jam - Client API

Build Status Coverage Status Codacy Badge Maven Central Join the chat at https://gitter.im/Faylixe/googlecodejam-client

Java client API for Google Code Jam contest. This API is implemented with, and for JDK8 and newer (changelog).

Please check the command line application for an exemple of application.

Disclaimer

Please note that this client is not provided by Google. Any responsability is declined if a bug occurs when you are using it in a real contest condition.

Maven dependency

Following dependency could be added to your POM.xml if you want to use the client API into your project.

<dependency>
    <groupId>fr.faylixe</groupId>
    <artifactId>googlecodejam-client</artifactId>
    <version>1.4.11</version>
</dependency>

The API entry point is the CodeJamSession class, which could be instantiated as following :

// Initializes required HTTPRequestExecutor.
final HttpRequestExecutor executor = HttpRequestExecutor.create(CODEJAM_HOSTNAME, SACSID_COOKIE_VALUE);
// Retrieves Round.
final Round round = ...;
// Creates session.
final CodeJamSession session = CodeJamSession.createSession(executor, round);

The session could be then used to retrieve contest information, problem description and analysis, download input file as submit solution as well. You can check the javadoc to get more informations.

Contributors

Contribution are welcome, don't hesitate to submit a pull request to improve this tools, here is the list of people who contributed :

You can’t perform that action at this time.