Skip to contents

Retrieves today's featured puzzle from Lichess.

Usage

lic_puzzle_daily(token = lic_token())

Arguments

token

API access token. By default, retrieved via lic_token().

Value

A list containing puzzle metadata (puzzle ID, rating, plays, FEN, moves, themes).

Details

Lichess API Endpoint: GET /api/puzzle/daily

Official Documentation: https://lichess.org/api#tag/Puzzles/operation/apiPuzzleDaily

Examples

puzzle <- lic_puzzle_daily()
puzzle$puzzle$rating
#> [1] 2086