Skip to content

perveevm/codeforces-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeforces-api Maven Central javadoc

This project implements all Codeforces API methods described here. If there are any errors in the implementation of some methods, contact me, and I'll fix them.

Building

Use mvn package if you need a .jar file.

Usage

The main class is CodeforcesSession. It implements all API methods. Constructor takes two parameters – key and secret. You can get them in your profile settings on CodeForces.

All entity classes, for example, Party, BlogEntry, etc., are in the ru.perveevm.codeforces.api.entities package.

To add it into your pom.xml use:

<dependency>
    <groupId>ru.perveevm</groupId>
    <artifactId>codeforces-api</artifactId>
    <version>Put the version you want here</version>
</dependency>