Blogger API 3.0 - how to get recently updated posts?

[email protected] Sun, 15 Apr 2018 03:19:59 -0700 (PDT)
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
------=_Part_17298_1250533254.1523787599586
Content-Type: multipart/alternative; 
	boundary="----=_Part_17299_195654299.1523787599586"

------=_Part_17299_195654299.1523787599586
Content-Type: text/plain; charset="UTF-8"

https://developers.google.com/blogger/docs/3.0/reference/posts/list

I want to get the all the posts that have been updated between a datetime 
and now.
I cannot use the startDate parameter because it only considers the 
published date.

I decided to use orderBy=updated and keep getting the next page until there 
is a post that was updated before the datetime. The problem I am having is 
that with pagination, not all the posts are being returned when I used 
orderBy=updated

*Get all post in one call*

   - 
   https://www.googleapis.com/blogger/v3/blogs/3213900/posts?orderBy=updated&maxResults=100&key=API-KEY
   - returns 53 posts 
   
*Get posts with pagination*

   - 
   https://www.googleapis.com/blogger/v3/blogs/3213900/posts?orderBy=updated&maxResults=30&key=API-KEY
   - returns 30 posts, nextPageToken=CgkIHhjAq5v24yYQzJTEAQ
   - 
   https://www.googleapis.com/blogger/v3/blogs/3213900/posts?orderBy=updated&maxResults=30&pageToken=CgkIHhjAq5v24yYQzJTEAQ&key=API-KEY
   - returns 21 posts
   - Total: 51 posts.


Am I doing something wrong?

The blog I am using has hundreds of posts. Without checking every single 
post, is there a way to find out a post from 5 years ago has been updated 
this week?

Thanks, Ben

-- 
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 https://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/d/optout.

------=_Part_17299_195654299.1523787599586
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><font size=3D"1">https://developers.google.com/blogger/doc=
s/3.0/reference/posts/list</font><div><font size=3D"1"><br></font><div><div=
>I want to get the all the posts that have been updated between a=C2=A0<fon=
t face=3D"courier new, monospace">datetime</font> and now.</div><div><div>I=
 cannot use the <font face=3D"courier new, monospace">startDate</font> para=
meter because it only considers the published date.</div><div><br></div><di=
v><div>I decided to use <font face=3D"courier new, monospace">orderBy=3Dupd=
ated</font> and keep getting the next page until there is a post that was u=
pdated before the <font face=3D"courier new, monospace">datetime</font>. Th=
e problem I am having is that with pagination, not all the posts are being =
returned when I used=C2=A0<span style=3D"font-family: &quot;courier new&quo=
t;, monospace;">orderBy=3Dupdated</span></div><div><div><br></div><div><b>G=
et all post in one call</b></div><ul><li>https://www.googleapis.com/blogger=
/v3/blogs/3213900/posts?orderBy=3Dupdated&amp;maxResults=3D100&amp;key=3DAP=
I-KEY<br></li><ul><li>returns 53 posts=C2=A0</li></ul></ul></div><div><b>Ge=
t posts with pagination</b></div><div><ul><li>https://www.googleapis.com/bl=
ogger/v3/blogs/3213900/posts?orderBy=3Dupdated&amp;maxResults=3D30&amp;key=
=3DAPI-KEY<br></li><ul><li>returns 30 posts, nextPageToken=3DCgkIHhjAq5v24y=
YQzJTEAQ</li></ul><li>https://www.googleapis.com/blogger/v3/blogs/3213900/p=
osts?orderBy=3Dupdated&amp;maxResults=3D30&amp;pageToken=3DCgkIHhjAq5v24yYQ=
zJTEAQ&amp;key=3DAPI-KEY<br></li><ul><li>returns 21 posts</li></ul><li>Tota=
l: 51 posts.</li></ul><div><br></div></div></div></div></div><div>Am I doin=
g something wrong?</div><div><br></div><div>The blog I am using has hundred=
s of posts. Without checking every single post, is there a way to find out =
a post from 5 years ago has been updated this week?</div><div><br></div><di=
v>Thanks, Ben</div></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Blogger Developer Group&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">bloggerd=
[email protected]</a>.<br />
To post to this group, send email to <a href=3D"mailto:bloggerdev@googlegro=
ups.com">[email protected]</a>.<br />
Visit this group at <a href=3D"https://groups.google.com/group/bloggerdev">=
https://groups.google.com/group/bloggerdev</a>.<br />
For more options, visit <a href=3D"https://groups.google.com/d/optout">http=
s://groups.google.com/d/optout</a>.<br />

------=_Part_17299_195654299.1523787599586--

------=_Part_17298_1250533254.1523787599586--