Swiftpack.co - aaronsky/wanikani-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by aaronsky.
aaronsky/wanikani-swift 0.0.2
Unofficial Swift client for the WaniKani API
⭐️ 1
🕓 1 week ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/aaronsky/wanikani-swift.git", from: "0.0.2")

WaniKani

Build Status

A Swift library and client for the WaniKani REST API. It currently supports Version 2 Revision 20170710 of the API.

import WaniKani

let client = WaniKani()
client.token = "..."

let response = try await client.send(.reviews(updatedAfter: Date()))
let reviews = response.data
print(reviews)

Usage

Getting Started

References

License

WaniKani for Swift is released under Apache License 2.0. See LICENSE for details. WaniKani data is subject to the Terms of Use.

GitHub

link
Stars: 1
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

0.0.2
1 week ago

Adds several missing initializers for resources, in circumstances where static member lookup isn't possible

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics