Hi Dan In the google-api-client-java group, Yaniv Inbar - Google engineer, wrote :
*In theory google-api-java-client support Google Contacts, but you have to write your own XML data model for it. I recommend you ask this question on the Google Contacts support forum to ask them if they have plans to improve the situation. * But from your answer, I conclude it is not possible, not even when developing your own XML data model ? I tried this : String url = "https://www.google.com/m8/feeds/contacts/[email protected]/full"; GoogleOAuthDomainWideDelegation googleOAuthDomainWideDelegation = new GoogleOAuthDomainWideDelegation(); googleOAuthDomainWideDelegation.parameters = getOauthHmacParameters(); googleOAuthDomainWideDelegation.requestorId = "[email protected]"; HttpTransport transport = new NetHttpTransport(); HttpRequestFactory requestFactory = transport.createRequestFactory(googleOAuthDomainWideDelegation); HttpRequest request = requestFactory.buildGetRequest(new GenericUrl(url)); try { printResponse(request.execute()); } catch (HttpResponseException e) { printResponse(e.getResponse()); System.out.println("-------------- ERROR --------------"); System.out.println(e.getMessage()); } And I do get results back. So it does seem to work ? But since the API is not part of the discovery, I dont know where to find out about the structure of the feed. Any feedback very welcome. Koen -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/contacts/community/forum.html
