TraktKit
TraktKit copied to clipboard
Swift wrapper for Trakt.tv API.
- Fixes all build errors related with latest Xcode. - Fixes version differences between SPM, cocoapods and binary framework. - Tested with example project and SPM.
Example
Hi, quick question. Is the example meant to be runnable given the xcode projects are 5 years old ? I can build and run tests in xcode from the swift.package....
I added the field translations in the request for seasons and episodes and fixed some optional values marked as required
Calls to getPeopleInEpisode failed due to "episode_count" not being present for single episodes. In TVCastMember and TVCrewMember episodeCount needed to be optional to parse successfully. The unit test for getPeopleInEpisode...
Converted frameworks to Universal frameworks Added test for tvOS and macOS I have also changed a couple of other things. For example I couldn't fetch the avatars, the "user" structure...
I discovered that if you access the keychain soon after launching / coming to foreground keychain will return an error instead of the data. To fix this I'll be keeping...
Currently the framework is accepting dictionaries and converting them to data itself using JSONSerialization. On my end I'm seeing crashes using this method, and would like to switch to using...
Great package, thank you for making it available! I'd like to see pagination support added for more calls, since the Trakt API defaults to only 10 items in a page....
Is it possible to refresh the access token automatically? Something like: - I call an endpoint and it returns with 401 Unauthorized because my access token is expired - The...