Hi, did you know if there is a way to query one only row of a public spreadsheet?
On May 16, 11:54 am, Brian Slesinsky <bslesin...@gmail.com> wrote: > When using the list API, the first row is considered to be the header > row and not included in the results. Try two rows. > > On Apr 24, 4:09 pm, gala <igorma...@yahoo.com> wrote: > > > Hello > > I am doing something wrong or it a bug. > > PLEASE review my code and help. > > > // a9hnd isrowIdgetting as a full url from previous query > > // SpreadsheetEntry entry = spreadsheets.get(i); > > // rowIdString = entry.getId(); > > > URL listFeedUrl= new URL("http://spreadsheets.google.com/feeds/list/ > > myspreadsheetkey/1/private/values/a9hnd"); > > > ListQuery query = new ListQuery(listFeedUrl); > > > ListFeed feed=null;; > > try { > > feed = service.query(query, ListFeed.class); > > > //I am getting Tottal result -1 and 0 Entries for size() > > System.out.println("getTotalResults"+feed.getTotalResults > > ()); > > // no exceptions just empty feed > > > } catch (ServiceException e) { > > e.printStackTrace(); > > } catch (IOException e) { > > e.printStackTrace(); > > } > > return feed; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---