Skip to main content

Crate chessigma

Crate chessigma 

Source
Expand description

Typed client for the Chessigma public chess API.

No API key is required. The service has a global limit of 30 requests/minute. Requests are not automatically retried. Game submission stores PGN; engine analysis only runs when someone opens the returned URL in a browser.

let client = chessigma::Client::new()?;
let puzzle = client.daily_puzzle(None)?;
println!("{}: {}", puzzle.date, puzzle.fen);

Structs§

Analysis
AnalysisMetadata
Client
Synchronous client with a default 30-second timeout. Use from a blocking context.
DailyPuzzle
EloOptions
Optional rating system and K-factor override.
EloResponse
Game
GameAnalysisResponse
GameSubmissionResponse

Enums§

Error
HTTP/JSON failures and API errors, retaining status and rate-limit metadata.
GameResult
RatingSystem
SideToMove

Constants§

DEFAULT_BASE_URL
Production API root.