Swift SDK to work with Jellyfin servers.
Generated using CreateAPI
JellyfinClient uses an underlying Get APIClient to provide basic functionality for interfacing with a Jellyfin server:
Datevalues to expected
signInfor generating a session access token
signOutfor revoking the current access token
// Create let jellyfinClient = JellyfinClient(configuration: configuration) // Provided by JellyfinClient let response = jellyfinClient.signIn(username: "jelly", password: "fin")
You can forego
JellyfinClient and use your own network stack, using the provided Entities and Paths.
The mechanism for generating Entities, Extensions, and Paths with CreateAPI is provided as an Xcode command plugin.
# runs the CreateAPI Xcode command plugin $ swift package --allow-writing-to-package-directory generate-api
Alternatively, you can generate your own Swift Jellyfin SDK using CreateAPI or any other OpenAPI generator.
|Last commit: 3 weeks ago|
Updates schema to 10.8.8
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics