How to interact with Google contacts using XML and HTTP?

I am trying to understand this document .

But I do not understand how to implement it in my previous code, which I did in accordance with this link .

Can anyone provide me some sample code to continue.

I do not understand how to use these XML records.

+3
source share
1 answer

The C # library that you use in your "previous code" is a wrapper around the Google Contacts API protocol, which is the document you are trying to understand. More precisely, this is a wrapper around the Google Data API that Google Contacts provides.

A protocol is actually REST calls that return ATOM and / or JSON channels to you. You can implement this in C # using WebRequest and WebResponse, and analyze the result using something like XMLReader, but why do you do it if you already have a library that does this for you?

+1
source

Source: https://habr.com/ru/post/1738985/


All Articles