Java wrapper for Chess.com API

Sort:
Oldest
lrj825

Hello!

For those of you who develop in Java or other JVM-based languages, I've built a Java wrapper for Chess.com's API.

GitHub: https://github.com/sornerol/chess-com-pubapi-java-wrapper
Javadoc: https://javadoc.io/doc/io.github.sornerol/chesscom-pubapi-wrapper

I've uploaded the project to the Central Repository, so it's super easy to include it as a dependency using Maven, Gradle, Ant, etc.

Hope someone finds this useful. Feel free to let me know if you have problems with it.

ImperfectAge

That's cool. Probably it would be a nice feature to allow people to specify the user-agent header as discussed here under 'rate limiting'  https://www.chess.com/news/view/published-data-api#pubapi-general-rate-limits

In my Python modules, I am generally sleeping and retrying when I encounter a 429 response..  You might try that?

 

 

lrj825
ImperfectAge wrote:

That's cool. Probably it would be a nice feature to allow people to specify the user-agent header as discussed here under 'rate limiting'  https://www.chess.com/news/view/published-data-api#pubapi-general-rate-limits

In my Python modules, I am generally sleeping and retrying when I encounter a 429 response..  You might try that?

 

 

Thank you for the wonderful feedback. I have added both of your points to the issues board and will implement them soon.

big_sheykh

Thank you.

I usually use Java or C++ and this is handy to me!