"ApiStreamItemsIds" not returning continuation token?

56 views
Skip to first unread message

Gaurav

unread,
Aug 11, 2012, 4:18:38 AM8/11/12
to foug...@googlegroups.com
Hello,

As documented here: http://code.google.com/p/google-reader-api/wiki/ApiStreamItemsIds => If a response does not represent all items in a timestamp range, it will have a continuation attribute. 

I'm using the below call to get ids for last 6 months, but it doesn't return "continuation" attribute:

https://www.google.com/reader/api/0/stream/items/ids?s=user/-/state/com.google/reading-list&r=n&n=10000&nt=1344672484&ot=1328947812

However, if I pass n=11000, it simply returns 11000 ids.

Is it expected behavior?

Thank you!
Gaurav

P.S. Timestamp values are taken from http://www.epochconverter.com/

Mihai Parparita

unread,
Aug 13, 2012, 2:27:22 PM8/13/12
to foug...@googlegroups.com
That's a bug in the documentation, that endpoint does not expose continuation tokens. However, you can approximate them by using the "nt" parameters to get items older than the last one that you got in a previous response.

Mihai

Gaurav

unread,
Aug 14, 2012, 2:03:38 AM8/14/12
to foug...@googlegroups.com
Mihai, Thank you so much for quick reply.
Reply all
Reply to author
Forward
0 new messages