b5i / YouTubeKit

A way to interact with YouTube's API in Swift (without any API key!)
https://swiftpackageindex.com/b5i/YouTubeKit
MIT License
83 stars 8 forks source link

How to use contentContinuation for channels #15

Closed Mcrich23 closed 10 months ago

Mcrich23 commented 10 months ago

How do I use ChannelInfosResponse's getChannelContentContinuation method? I cannot figure out how to properly pass in ChannelContent

b5i commented 10 months ago

Hello, you have to pass the type of the content that you want to fetch e.g. ChannelInfosResponse.Playlists.self. You can see it in action here.

Mcrich23 commented 10 months ago

Thank you!