File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44Swift library for Navidrome's undocumented API
55
66## Example
7+ More usage examples can be seen in the
8+ [ unit tests.] (https://github.com/NavicApp/NavidromeKit/blob/master/Tests/NavidromeKitTests/AuthenticatedTests.swift
9+ )
710``` swift
811import NavidromeKit
912
@@ -26,7 +29,7 @@ APIClient.shared = APIClient(
2629// You can store the client instance however you want, but the
2730// simplest way to do so is to set `APIClient.shared`
2831
29- let songs = try await APIClient.shared ! .fetchSongs ()
32+ let songs = try await APIClient.shared ! .getSongs ()
3033```
3134
3235## Notes
@@ -47,10 +50,10 @@ let songs = try await APIClient.shared!.fetchSongs()
4750 as it was made primarily for personal projects.
4851
4952## Licence
50- This is under GPLv3. This is to prevent low quality
51- software from modifying or distributing it, eg. paid
52- app store apps. This is in the spirit of free and
53- open source software.
53+ In the spirit of keeping things open source and free,
54+ this library is under the GPLv3 licence.
55+
56+ [ Learn more about GPLv3 here. ] ( https://choosealicense.com/licenses/gpl-3.0/ )
5457
55- Alternative commercial or permissive licensing is
56- available upon request.
58+ Commercial or permissive licensing is available upon
59+ request.
You can’t perform that action at this time.
0 commit comments