Hello, I used the below sample code as instructed in link. However, it does not list out all the email addresses. I have around 3000 contacts. But it retrieves only 10-15 addresses!
Please let me know how to get all contacts using API. http://code.google.com/apis/contacts/developers_guide_dotnet.html Below is the code: ContactsService service = new ContactsService("exampleCo- exampleApp-1"); service.setUserCredentials("[EMAIL PROTECTED]", "somePassword"); ContactsQuery query = new ContactsQuery(ContactsQuery.CreateContactsUri("default")); ContactsFeed feed = service.Query(query); foreach (ContactEntry entry in feed.Entries) { Console.WriteLine(entry.Title.Text); foreach (EMail email in entry.Emails) { Console.WriteLine("\t" + email.Address); } } --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
