Fetching Page "n" using Blogger API v3
Arvind Kumar <[email protected]>
| Newsgroups | gmane.comp.web.blogger.api |
|---|---|
| Message-ID | <[email protected]> |
I've taken a look at the Blogger API v3 Documentation. So far the only way I've noticed to paginate my results if I request a list of posts in a blog is to use the *pageToken* header with the *nextPageToken* string as the value. This however does not give me a solution to fetch, say the 100th page in the list. Using *pageToken* to implement this would include having to iterate through the pages one by one a hundred times getting the *nextPageToken* value every time until I get the hundredth value. Seeing that there is a quota for the number of requests I can make every day to the API, this solution is nowhere even close to efficient in terms of what I want. So let's say that you've been told to fetch page number "n" in the post list. How would you give me this page by making only one request to the API? -- You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/bloggerdev. For more options, visit https://groups.google.com/d/optout.