All Projects → Faylixe → googlecodejam-client

Faylixe / googlecodejam-client

Licence: Apache-2.0 license
Java client API for Google Code Jam contest

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to googlecodejam-client

Google-Code-Jam-2019
My solutions to Google Code Jam 2019 in Python3
Stars: ✭ 37 (+236.36%)
Mutual labels:  google-code-jam
GoogleCodeJam-2016
🏃 Python Solutions of All 26 Problems of GCJ 2016
Stars: ✭ 18 (+63.64%)
Mutual labels:  google-code-jam
playground
A place to play programming
Stars: ✭ 21 (+90.91%)
Mutual labels:  google-code-jam
GoogleCodeJam-2017
🏃 Python Solutions of All 27 Probelms in GCJ 2017
Stars: ✭ 53 (+381.82%)
Mutual labels:  google-code-jam

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 :

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].