Hello,

I'm using the Google Picasa Web Album API and I would like retrieve public 
images having some tags and published later than a given date.
I use the following code to get the results:

Picasawebservice picasa=new PicasawebService("PicsPerTags");
URL baseSearchUrl=new URL("https://picasaweb.google.com/data/feed/api/all";);
...
query=new Query(baseSearchUrl);
query.setStringCustomParameter("kind", "photo");
query.setStringCustomParameter("tag", TAGS);
...
query.setPublishedMin(dateTime); //e.g. 2012-12-10
...
AlbumFeed searchResultsFeed;
try {
        searchResultsFeed = picasa.query(query, AlbumFeed.class);
        for (PhotoEntry photo : searchResultsFeed.getPhotoEntries()) {
              retrievedPics.add(photo);
        }
      } catch (IOException e) {
        ...
}

For the tags no problem, but I get images prior to the datetime I 
specified...

Am I missing something?

Thank you,

Nick

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/AA1pQSYLv6sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to