start_at parameter for /sync/ratings/* and /users/:user/comments
#603
Unanswered
Stefanuk12
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The problem
Get watched history has the ability to specify a date range. However, get comments and get ratings do not have equivalent parameters for
commented_atandrated_at.My situation
I am writing an app that syncs Trakt between other platforms and having these parameters help me ensure I efficiently use the API. At the moment, I grab all ratings and comments, then filter in my application.
The ideal solution
More filters:
start_atandend_at, just like the watched history endpoint would be ideal.Possible alternatives
Those endpoints are paginated and they are sorted by the time they were last inserted/updated. Therefore, I can grab 10 results at a time, stopping when I surpass my last sync time. However, the issue with this approach is that I need to make repeated requests and it complicates the code.
Beta Was this translation helpful? Give feedback.
All reactions