开发者

How to interact with Google Contacts using XML and HTTP?

开发者 https://www.devze.com 2022-12-24 07:01 出处:网络
I 开发者_JS百科am trying to understand this document. But I am not getting how to implement it in my previous code which I did according to this link .

I 开发者_JS百科am trying to understand this document.

But I am not getting how to implement it in my previous code which I did according to this link .

Can anyone provide me sample code to proceed with.

I am not getting how to use these XML entries.


The C# library you're using in your 'previous code' is a wrapper around the Google Contacts API protocol, which is the document you're trying to understand. To be more precise, it's a wrapper around the Google Data API which Google Contacts provides.

The protocol are actually REST calls which return you ATOM and/or JSON feeds. You could implement this in C# using WebRequest and WebResponse and parse the result with something like XMLReader, but why would you do that if there's already a library which does that for you?

0

精彩评论

暂无评论...
验证码 换一张
取 消