A reactive api wrapper for codeforces api :)
At its core, the library uses Spring WebFlux's reactive web client to make api requests. This allows for a non-blocking, asynchronous usage.
It also uses Project Reactor's reactive streams to handle the responses.
The library is available on Maven Central. Maven Central Link.
To use it, add the following dependency to your pom.xml file:
Latest Version: 1.0.2
<groupId>io.github.fork52.rx-codeforces-api-wrapper</groupId>
<artifactId>rx-codeforces-api</artifactId>
<version>1.0.2</version>
- CodeForces Api Documentation: cf-api-docs
- Javadocs: Official documentation
The CodeforcesWebClient
class is the main entry point for the library. It is used to make api requests to codeforces-api.
Example:
Mono<CFResponseList<User>> cfResponseListMono = codeforcesWebClient
.getUserInfo(Arrays.asList("DmitriyH", "Fefer_Ivan"));
System.out.println(cfResponseListMono.block());
Please make sure to follow Google CodeStyle before raising any pull requests.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Fork the repository and clone it to your local machine. Create a new branch for your feature.
git checkout -b my-new-feature