lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
442 stars 147 forks source link

Adding updated Python wrapper for Lichess API #185

Closed pywz closed 2 years ago

pywz commented 2 years ago

This Python API wrapper is up to date with the newest endpoints of the Lichess API and has the majority of the functionalities. At the moment, it only takes up ~38 kB. Its documentation is on the GitHub repo, but I will also link it here. Will be finishing adding all the endpoints and categories of the API very soon.

Please let me know if you have any questions or concerns, thank you!

benediktwerner commented 2 years ago

While this seems like it could end up as a nice project, it still seems to be work in progress and quite rough around the edges. For example, all the game export endpoints expose the "pgnInJson" option but don't even offer an option to get the result as JSON.

Berserk is a much more mature and feature-complete library that is generally also up-to-date so it doesn't seem very sensible to put this above all the other libraries describing it as "updated".

pywz commented 2 years ago

That makes sense. I will continue to work on it and make another PR when it is completely implemented.