Is there a way to use the Java API and only get the results from the
last week? I tried using the methods in the API but no luck so far.
GoogleBaseService javadocs [see here:
http://code.google.com/apis/gdata/javadoc/com/google/api/gbase/client/GoogleBaseService.html#query(com.google.gdata.client.Query,
com.google.gdata.data.DateTime) ]
<code>
DateTime lastWeek = new DateTime(new Date(System.currentTimeMillis() -
(1000L * 60L * 60L * 24L * 7L)));
System.out.println(""+lastWeek.toString());
GoogleBaseQuery gbsQuery.setGoogleBaseQuery("tv [item type:
Products]");
GoogleBaseService service = //... set up your service
GoogleBaseFeed googleBaseFeed = service.query(gbsQuery, lastWeek);
</code>