lichess-api 1.0.0

A client library for the Lichess API
Documentation
{
    "type": "challengeDeclined",
    "challenge": {
        "id": "H9fIRZUk",
        "url": "https://lichess.org/H9fIRZUk",
        "status": "declined",
        "challenger": {
            "id": "bot1",
            "name": "Bot1",
            "rating": 1500,
            "title": "BOT",
            "provisional": true,
            "online": true,
            "lag": 4
        },
        "destUser": {
            "id": "bobby",
            "name": "Bobby",
            "rating": 1635,
            "title": "GM",
            "provisional": true,
            "online": true,
            "lag": 4
        },
        "variant": {
            "key": "standard",
            "name": "Standard",
            "short": "Std"
        },
        "rated": true,
        "speed": "rapid",
        "timeControl": {
            "type": "clock",
            "limit": 600,
            "increment": 0,
            "show": "10+0"
        },
        "color": "random",
        "finalColor": "black",
        "perf": {
            "icon": "",
            "name": "Rapid"
        },
        "direction": "out",
        "declineReason": "I'm not accepting challenges at the moment",
        "declineReasonKey": "generic"
    }
}