navanchauhan / swift-lichess

(WIP) Swift Client for the Lichess API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift-Lichess

API Client for Lichess. The end goal of this package is to implement everything listed in the OpenAPI Reference (2.0.0)

Example

import LichessClient

let client = LichessClient()

Task {
    do {
        let tournaments = try await client.broadcastIndex(nb: 10)
    } catch {
        print("Error fetching tournaments: \(error)")
    }
}

About

(WIP) Swift Client for the Lichess API


Languages

Language:Swift 100.0%