MaxHasADHD / TraktKit

Swift wrapper for Trakt.tv API.
MIT License
112 stars 37 forks source link

Add `lastUpdatedAt` to sync endpoints #26

Closed paxos closed 5 years ago

paxos commented 5 years ago

Adds support for the missing last_updated_at timestamps to sync/watched and sync/collection endpoints.

Those are required for a reliable sync, as the last_collected_at and last_watched_at can be set to past dates by the user.

https://trakt.docs.apiary.io/#reference/sync/get-collection/get-collection https://trakt.docs.apiary.io/#reference/sync/get-watched/get-watched

MaxHasADHD commented 5 years ago

This looks great! Thank you

MaxHasADHD commented 5 years ago

@paxos Could you also update the unit tests and JSON?

paxos commented 5 years ago

Yes of course, will commit it later this week 👍