berserk icon indicating copy to clipboard operation
berserk copied to clipboard

cloud-eval API

Open petsuter opened this issue 2 years ago • 1 comments

Is there a way to use the cloud-eval endpoint?

petsuter avatar May 01 '22 21:05 petsuter

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)

petsuter avatar May 01 '22 22:05 petsuter