Open benediktwerner opened 1 year ago
I might start working on this issue, thanks for the list!
@Virinas-code May I work with you on this. I want to learn how you are implementing.
Literrally copy pasting code and changing endpoints and docs...
(I'm testing it after. It isn't that hard to understand, you just need a bit of python knowledge.)
Yes, I realise that since I am doing it for the first time, I am a little unsure on how to determine whether the code is functioning. I don't just mean coding; I mean the entire process. That's why I am requesting you, if possible, please teach me. Thank you.
@Virinas-code - do you have plans to implement /api/broadcast? If not, I have an implementation ready to go.
If you have an implementation add it then, I'm not working on berserk right now, but I'll get back to it.
I'll get back to berserk dev soon. What should I start with?
I'd say just pick any endpoint or group of endpoints that sound useful or interesting.
Ok, gonna fork it again and work on tablebase I think.
I confirm I'm working on it right now.
Hi,
I opened a PR #30 addressing some of these.
Hi @benediktwerner I am starting to work on this checklist. Have any changes been made to it? It hasn't been updated since last month. Also, the above link for clients.py is broken.
@shaikhmudassir I updated the list, two more endpoints have been implemented since. Though I guess still check the code before you add any new ones, it's always possible the list isn't 100% accurate. And the clients are now split into multiple files, I changed the link to the directory instead.
I implemented one opening explorer endpoints: https://github.com/lichess-org/berserk/pull/32
GET
/api/bulk-pairing
POST
/api/bulk-pairing
POST
/api/bulk-pairing/{id}/start-clocks
DEL
/api/bulk-pairing/{id}
No new tests were implemented. See #43 for more informations.
What is the /api/racer
endpoint? I can't find it in the docs.
A majority of the still unchecked items (as of Nov 2nd 2023, 7:46 pm ET) have already been implemented and exist!
Here's what's still left:
/api/cloud-eval
/api/token
(I think this cannot be implemented due to #55)/broadcast/{broadcastTournamentId}/edit
(there's a clients.broadcasts.update
already but the path is /broadcast/{slug}/{broadcast_id}
which does not exist anymore in the API docs)/swiss/{id}.trf
https://engine.lichess.ovh/api/external-engine/work
https://engine.lichess.ovh/api/external-engine/work/{id}
https://engine.lichess.ovh/api/external-engine/{id}/analyse
https://explorer.lichess.ovh/lichess/history
(this does not exist in the API docs)thanks, double checked and updated
FYI, seems like client.analysis.get_cloud_evaluation()
is not implemented (though it says it is in the readme): AttributeError: 'Client' object has no attribute 'analysis'
That wasn't released yet, I released v0.13.2 with the recent changes.
Is this issue still open ?
If its open, how much api's are left
Is this issue still open ?
If its open, how much api's are left
Hey, yes the endpoints not ticked are left to grab .
Thanks, I will work on it if anyone else is not working
Cool, if you want to implement external-engine endpoints, make sure to check feedback given in #66 before
Hey,
I think these api's are already completed in the code but not ticked here.
https://explorer.lichess.ovh/master/pgn/{gameId}
https://explorer.lichess.ovh/masters
Also what is to be confirmed
in https://explorer.lichess.ovh/lichess/history
@kraktus I opened a pr that implements the advice given in #66. Could you take a look?
The list below shows API endpoints that are currently still missing from berserk (generated by the
check-endpoints.py
script).Feel free to choose any one and implement it.
See https://github.com/lichess-org/berserk/tree/master/berserk/clients for existing endpoint implementations.
New endpoints should have their responses typed. See https://github.com/lichess-org/berserk/blob/master/berserk/clients/opening_explorer.py/#L35 for an example of how to type dictionary responses.
For more info on the details of any specific endpoint, see https://lichess.org/api.
Also see the Get Started contributing section.
/api/tokenDo not implement for the moment https://github.com/lichess-org/berserk/pull/55/oauthDo not implement for the moment https://github.com/lichess-org/berserk/pull/55