How to define headers in spreadsheet to get gsx$title attribute in JSON response from google spreadsheet API? -


i planning use google spreadsheet api fetch data spreadsheet , render in mobile app using sencha touch. have seen few blogs , tutorial explain how fetch , parse data when trying same not getting column wise data attributes in entry object instead getting comma separated data in content tag.

to give example, here sample spreadsheet in have change headers , data:

https://docs.google.com/spreadsheet/ccc?key=0akeocotxrkgvddrzunvisflovuf0qujybkz6vlbwtke#gid=0

and here feed:

https://spreadsheets.google.com/feeds/list/0akeocotxrkgvddrzunvisflovuf0qujybkz6vlbwtke/od6/public/values?alt=json

but when created same spreadsheet hand scratch not getting gsx$name & gsx$processedlinkurl attribute in json. here sheet:

https://docs.google.com/spreadsheet/ccc?key=0agduez3vmqutdhzlsei4bjn6vnz5tvprmflyovatr0e#gid=0

here json:

https://spreadsheets.google.com/feeds/list/0agduez3vmqutdhzlsei4bjn6vnz5tvprmflyovatr0e/od6/public/basic?alt=json

to mark first row header have frozen first row in sheet still json not giving me header wise data in json.

ok got mistake, values instead of basic used in url while accessing spreadsheet api headers in result means

correct url:

https://spreadsheets.google.com/feeds/list/0agduez3vmqutdhzlsei4bjn6vnz5tvprmflyovatr0e/od6/public/values?alt=json

wrong url:

https://spreadsheets.google.com/feeds/list/0agduez3vmqutdhzlsei4bjn6vnz5tvprmflyovatr0e/od6/public/basic?alt=json


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -