谷歌自定义搜索API javascript

谷歌自定义搜索API javascript,javascript,ajax,angularjs,google-custom-search,Javascript,Ajax,Angularjs,Google Custom Search,我正在编写一个AngularJS应用程序,它应该使用google自定义搜索api在整个web上执行图像搜索。 我使用的查询如下: 'https://www.googleapis.com/customsearch/v1?key='+ googleApiKey + '&cx=014766414461901118935:knbecyxzx4u&searchType=image&startIndex=41&imgType=photo&q=' + query; 结

我正在编写一个AngularJS应用程序,它应该使用google自定义搜索api在整个web上执行图像搜索。 我使用的查询如下:

'https://www.googleapis.com/customsearch/v1?key='+ googleApiKey + '&cx=014766414461901118935:knbecyxzx4u&searchType=image&startIndex=41&imgType=photo&q=' + query;
结果我得到了一个由10个元素组成的数组。文档中说,它最多可以返回前100个结果。除了来自上述查询的10个结果外,我如何加载其余所有结果


注意:除了图像数组之外,我还得到了query对象,该对象具有
nextPage
对象,该对象包含描述查询的元数据,用于下一页的结果,但是显然我不知道如何使用它,因为
startIndex
值总是
11
我相信您使用
&start
而不是
&startIndex