We are directly using the spreadsheet API to manage data within the
spreadsheet, that seems to work fine for us

http://code.google.com/apis/spreadsheets/data/3.0/developers_guide.html

Regards | Vikas
www.inphina.com

On Nov 1, 3:55 pm, prakhil samar <prakhil.purch...@gmail.com> wrote:
> I have created a googlespreadsheetand I want to access its contents
> using java. I have created the following code:
> public static void main(String[] args) throws Exception{
>
>         URL feedUrl = new URL("");
>
>                 SpreadsheetService myService = new
> SpreadsheetService("googleapps_spreadsheet");
>                 myService.setUserCredentials("prakhil.purch...@gmail.com",
> "purchase");
>         SpreadsheetFeed resultFeed = myService.getFeed(feedUrl,
> SpreadsheetFeed.class);
>
>         System.out.println("YourSpreadsheet:");
>         for(int i=0; i<resultFeed.getEntries().size(); i++){
>                 SpreadsheetEntry entry = resultFeed.getEntries().get(i);
>                 System.out.println("\t"+
> entry.getTitle().getPlainText());
>
>         }
>     }
>
> It not giving any results. Can somebody who has used googlespreadsheetwith 
> java before, please suggest what is the mistake in
> the code.
>
> Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to