diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2024-04-24 02:05:03 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2024-04-24 02:05:03 -0600 |
commit | aaa2215a9c9931bf24fb6735e807b0672011a659 (patch) | |
tree | 14c427c66c4f45e1638b3c65113cb5e28560d0a1 | |
parent | f1cc08c4c3bfbc844047dd7b6b68bc6fab9baedf (diff) |
add readme
-rw-r--r-- | README.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..90032db --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# 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 + +```swift +import LichessClient + +let client = LichessClient() + +Task { + do { + let tournaments = try await client.broadcastIndex(nb: 10) + } catch { + print("Error fetching tournaments: \(error)") + } +} +``` + |