Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud-eval API #21

Open
petsuter opened this issue May 1, 2022 · 1 comment
Open

cloud-eval API #21

petsuter opened this issue May 1, 2022 · 1 comment

Comments

@petsuter
Copy link

petsuter commented May 1, 2022

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

@petsuter
Copy link
Author

petsuter commented May 1, 2022

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)

kraktus pushed a commit to kraktus/berserk that referenced this issue Jul 28, 2023
Add a missing function in the README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant