I'm just playing around with the code at: http://code.google.com/apis/gdata/client-java.html#Tutorial
I want to get an SID and so forth from this; any pointers? /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package auth; import com.google.gdata.client.GoogleService; import com.google.gdata.data.Feed; import com.google.gdata.data.extensions.EventFeed; import com.google.gdata.util.AuthenticationException; import com.google.gdata.util.ServiceException; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.util.Scanner; import static java.lang.System.out; import static java.lang.System.in; /** * * @author thufir */ public class Main { private static String userPrefix, userSuffix = "@gmail.com",user,password; /** * @param args the command line arguments */ public static void main(String[] args) throws MalformedURLException, AuthenticationException, IOException, ServiceException { BufferedReader br = new BufferedReader(new InputStreamReader(in)); out.print("user:\t"); user = br.readLine() + userSuffix; out.print("password:\t"); password = br.readLine(); out.println("\n\nlogging in with\n"+user+"\t\t"+password); URL feedUrl = new URL("http://www.google.com/calendar/feeds/ l...@gmail.com/private/full"); GoogleService myService = new GoogleService("cl", "exampleCo- exampleApp-1"); myService.setUserCredentials(userPrefix, password); // Mark the feed as an Event feed: new EventFeed().declareExtensions(myService.getExtensionProfile ()); // Send the request and receive the response: Feed myFeed = myService.getFeed(feedUrl, Feed.class); out.println(myFeed); } } thanks, Thufir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Data Protocol" group. To post to this group, send email to google-help-dataapi@googlegroups.com To unsubscribe from this group, send email to google-help-dataapi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---