Collecta results by date

0 views
Skip to first unread message

Shaun

unread,
Aug 19, 2010, 11:40:17 PM8/19/10
to collecta developer
Hello,

I'm using the Collecta Rest API for now, and was wondering if anyone
has tried getting results for a certain date. more specifically, is it
possible to get results between X date, and Y date?

the closest hint i got was to use the 'since_id', which will get me
results thereafter.
upon looking at the payload, i realise the 'id' element is the URL of
each result... so how do i get a date comparison with 'since_id'?


hints/help anyone?

Thanks!

Mick Thompson

unread,
Aug 22, 2010, 4:36:47 PM8/22/10
to collecta-...@googlegroups.com
Hi
since_id param will take a timestamp. and it will return all the results since that timestamp (of course limited by paging etc.)  Also you can page back using after_id to get items that are further back in the the collecta archive.

All timestamps need to be specified down to the millisecond.

 
_Mick
A Collecta Developer

Reply all
Reply to author
Forward
0 new messages