mirror of
https://github.com/yattee/yattee.git
synced 2025-08-08 11:44:06 +00:00
Add support for Piped accounts and subscriptions
This commit is contained in:
@@ -20,7 +20,8 @@ protocol VideosAPI {
|
||||
var popular: Resource? { get }
|
||||
var playlists: Resource? { get }
|
||||
|
||||
func channelSubscription(_ id: String) -> Resource?
|
||||
func subscribe(_ channelID: String, onCompletion: @escaping () -> Void)
|
||||
func unsubscribe(_ channelID: String, onCompletion: @escaping () -> Void)
|
||||
|
||||
func playlist(_ id: String) -> Resource?
|
||||
func playlistVideo(_ playlistID: String, _ videoID: String) -> Resource?
|
||||
|
Reference in New Issue
Block a user