Learn R Programming

horsey (version 1.0.1)

client: Create a Lichess API client for analysis/export workflows

Description

horsey is designed for read-only access and data export. Provide a token for endpoints that require authentication. If token is NULL, client() will use Sys.getenv("LICHESS_TOKEN").

Usage

client(token = NULL, base_url = "https://lichess.org", quiet = FALSE)

Value

An object of class horsey_client.

Arguments

token

Bearer token (personal API token or OAuth access token). If NULL, uses Sys.getenv("LICHESS_TOKEN").

base_url

API base URL. Defaults to https://lichess.org.

quiet

Suppress informational messages.