SubsonicKit
Swift Client for Subsonic API
create a SubsonicClient
and that’s all.
let baseURL = URL(string: "https://example.com")!
let client = SubsonicClient(baseURL: baseURL, username: "username", password: "password")
Task {
do {
let response = try await client.getGenres()
print(response)
} catch {
print(error)
}
}