[英]How to get specific data from google spreadsheet?
I am fetching data from google spreadsheet.我正在从Google电子表格中获取数据。 Currently it is fetching all the data from spreadsheet.
目前它正在从电子表格中获取所有数据。 I only need data of specific user and only last twenty records .
我只需要特定用户的数据和最后二十条记录。 This is the URL I am using to fetch data I think i need to make changes in it?
这是我用来获取数据的 URL 我认为我需要对其进行更改?
https://spreadsheets.google.com/feeds/cells/spreadsheetID/1/public/full?alt=json
and I am using angular framework.我正在使用角度框架。 whole process code is
整个过程代码是
function(data) {
var i;
for(i=0;i<data.feed.entry.length;i++) {
// console.log(data.feed.entry[i].gsx$id.$t);
if(new String(76).valueOf()===data.feed.entry[i].gsx$id.$t) {
console.log(data.feed.entry[i].gsx$id.$t);
}
}
});
});
I am fetching data from google spreadsheet.我正在从Google电子表格中获取数据。 Currently it is fetching all the data from spreadsheet.
目前它正在从电子表格中获取所有数据。 I only need data of specific user and only last twenty records .
我只需要特定用户的数据和最后二十条记录。 This is the URL I am using to fetch data I think i need to make changes in it?
这是我用来获取数据的 URL 我认为我需要对其进行更改?
https://spreadsheets.google.com/feeds/cells/spreadsheetID/1/public/full?alt=json
and I am using angular framework.我正在使用角度框架。 whole process code is
整个过程代码是
function(data) {
var i;
for(i=0;i<data.feed.entry.length;i++) {
// console.log(data.feed.entry[i].gsx$id.$t);
if(new String(76).valueOf()===data.feed.entry[i].gsx$id.$t) {
console.log(data.feed.entry[i].gsx$id.$t);
}
}
});
});
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.