Coder Social home page Coder Social logo

amasend / lichess_python_sdk Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 7.0 6.06 MB

Async Python Lichess SDK

License: Apache License 2.0

Python 25.63% Shell 0.08% Jupyter Notebook 74.29%
chess api-client python lichess-api lichess-python-sdk lichess python-sdk

lichess_python_sdk's People

Contributors

amasend avatar amcia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lichess_python_sdk's Issues

Implement endpoint: Account

  • Account
    [x] get my profile
    [x] get my email address
    [x] get my preferences
    [x] get my kid mode status
    [x] set my kid mode status

Implement endpoint: Board

  • Board
    [x] stream incoming events
    [x] create a seek
    [x] stream board game state
    [x] make a board move
    [x] write in a chat
    [x] abort a game
    [x] resign a game

SyntaxError on your example code

Trying your example:
from lichess_client import APIClient
client = APIClient(token="lichess_account_token")
response = await client.account.get_my_profile()

gives me a

response = await client.account.get_my_profile()
File "", line 1
response = await client.account.get_my_profile()
^
SyntaxError: invalid syntax

error message. I use python3.6.9

BTW. in your readme.md its "lichees" written, so please update to "lichess"

Implement endpoint: Games

  • Games
    [x] export one game
    [x] export games of a user
    [x] export games by IDs
    [x] stream current games
    [x] get ongoing games
    [x] get current TV games

Implement endpoint: Tournaments

  • Tournaments
    [x] get current tournaments
    [x] create a new tournament
    [x] export games of a tournament
    [x] get results of a tournament
    [x] get tournaments created by a user

Implement endpoint: Users

  • Users:
    [x] get real time users status
    [x] get all top 10
    [x] get one leaderboard
    [x] get user public data
    [x] get rating history of a user
    [x] get user activity
    [x] get your puzzle activity
    [x] get users by ID
    [x] get members of a team
    [x] get live streamers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.