Filter by update date

Avatar image for pedropaulo
PedroPaulo

16

Forum Posts

40

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hi there,

is it possible to filter by dates where the date is greater than a certain value? If it is, could you please post an example?

In order to avoid hammering your servers, I thought about doing something like retrieving all publishers at once (respecting, of course, the current request limit), and then, from time to time, like once a week or month, only retrieve stuff that was updated since my last call. For the publishers I could use the date_last_updated.

Is that the way to go about it? If there is a better way I would love to hear it.

Avatar image for pedropaulo
PedroPaulo

16

Forum Posts

40

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#2  Edited By PedroPaulo

The problem with not being so smart is that sometimes I cannot see the answer when it is right under my nose.

All I have to do is to sort the request by the last update date, descending, and check the results against what I already have. When a date is equal, it is time to stop because everything else is already up to date.

Avatar image for cbandes
cbandes

20

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By cbandes

I just asked the same question because I didn't notice yours. Did your solution work for you?