berserk
berserk copied to clipboard
cloud-eval API
Is there a way to use the cloud-eval endpoint?
This seems to work:
def get_cloud_eval(berserk_client, fen: str):
path = 'api/cloud-eval'
params = {
'fen': fen,
}
return berserk_client._r.get(path, params=params, fmt=berserk.formats.JSON)