Python Picasa网络相册API:照片提要中的开始索引无效

Python Picasa网络相册API:照片提要中的开始索引无效,python,google-api,gdata,picasa,Python,Google Api,Gdata,Picasa,我正在从Picasa获取用户。如中所述,您可以使用max results和start index组合对响应进行分页。但这似乎不起作用 具有不同起始索引的请求示例: 两个请求都返回相同的结果。启动索引没有影响 我已经发布了这个,但是还没有得到任何回复 我正在尝试的代码段: credentials = SignedJwtAssertionCredentials( SERVICE_ACCOUNT_EMAIL, file(SERVICE_ACCOUNT_PEM_FILE_PA

我正在从Picasa获取用户。如中所述,您可以使用max results和start index组合对响应进行分页。但这似乎不起作用

具有不同起始索引的请求示例:

两个请求都返回相同的结果。启动索引没有影响

我已经发布了这个,但是还没有得到任何回复

我正在尝试的代码段:

credentials = SignedJwtAssertionCredentials(
      SERVICE_ACCOUNT_EMAIL,
      file(SERVICE_ACCOUNT_PEM_FILE_PATH, "rb").read(),
      scope=["https://picasaweb.google.com/data/"],
      prn=userEmail
    )
PHOTOS_URL = "https://picasaweb.google.com/data/feed/api/user/%s?kind=photo&max-results=5&alt=json&start-index=%s&imgmax=d"
http = httplib2.Http()
http = credentials.authorize(http)
response, albumPhotos = http.request(PHOTOS_URL %(userEmail, startIndex), 'GET')
albumPhotos = eval(albumPhotos)
有什么想法吗?

试试看

start index参数无法从用户检索最新更新的照片
https://picasaweb.google.com/data/feed/api/user/%s?kind=photo
,尽管返回的结果表明openSearch:startIndex确实采用了start index参数

但如果您查询特定相册中的照片,则该功能将起作用,例如:
https://picasaweb.google.com/data/feed/api/user/default/albumid/{albmId}?开始索引=10

查找
gphoto$numphotos
值(
response['feed']['entry']['gphoto$numphotos']
)。检索到可以使用的值后:

https://picasaweb.google.com/data/feed/api/user/default/albumid/{albmId}?start-index=VALUE

事实上,看起来API现在已经严重损坏了,API仍然损坏(即使如此……你也不能通过这种方式下载超过10000张照片)。