Misskey API client for Swift
dependencies: [
.package(url: "https://github.com/petitstrawberry/MisskeyAPIKit", from: "0.1.0")
],
let misskey = MisskeyAPI(
baseURL: "https://mi.example.com",
credentials: .init(accessToken: "access_token")
)
let createdNote = try await misskey.notes.create(.init(text: "Hello, world!"))
let notes: [Note] = try await misskey.notes.getTimeline(.init(limit: 10))