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:
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:
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
Post a Comment