title: How do I get all user photos using the Google Photos API?
body: <p>I'm using the <a href="https://developers.google.com/picasa-web/docs/2.0/developers_guide_protocol" rel="nofollow">Picasa Web Albums Data API</a> to access my Google Photos account. My goal is to download all photos between a given start and end time (old vacation pics). This API doesn't support server-side time filtering, so I'm trying to access the meta-data of the most recent 4000 images and filter them by time client-side. I have a working proof of concept, but I can only get the server to return ~900 image references (my Google Photos account easily has 40k total images). Is there some API method I am missing that lets me download the entire "feed" for my user so I can access meta-data on all my photos? Here is what I've tried...</p>
  
  <pre><code># Tried this first, got ~900 results
  pics = gd_client.GetUserFeed(kind='photo', limit=4000).entry
  # Tried using the paging parameter start-index, but even if I 
  # page through until it errors out, there are only ~900 results
  pics = gd_client.GetFeed('/data/feed/api/user/default?kind=photo&amp;max-results=100&amp;start-index=500').entry
  </code></pre>
  
  <p>The APIs for albums do work correctly to list all images - the 'Auto Backup' album (that receives images from Google Photos on Android phones) has 30k images and I can query the meta data of them all. </p>
  
  <p>Unfortunately I cannot put these images into one album and download them that way - user-created albums are limited to 2000 images. (I know there are around 3000 total images from this trip, because I can 'select' them in the web interface and see the total count, but you cannot download that many at once and you cannot add more than 2k to one album.) </p>