Is there a Perl module to interface to Google Contacts API?

强颜欢笑 提交于 2019-12-23 19:17:48

问题


I want to write a command line program to add a contact to GoogleMail. WWW::Contact::GoogleContact appears only to be able to get things from Google.


回答1:


I think you want the Google Data API instead. The Contacts API is read-only.




回答2:


I have just added loads more fields to the output of WWW::Contact::GoogleContactsAPI but, as Brian says, it's currently read-only. I will try to get this released soon then I will look at making it two-way.

Is anyone else using/working with this module? Want to alpha test my code?

This module is one subclass of a general Contacts class, though it's very minimalist as it stands. So, rather than just deliver the data in the form chosen by Google, I wanted to find a good "standard" data model. The best I found was http://www.opensocial.org/Technical-Resources/draft/Social-Data.xml#Person though it's probably rather too Facebook and not Outlook/Exchange enough. Anyone know a good contacts data model?




回答3:


Have you looked at WWW:Mechanize?



来源:https://stackoverflow.com/questions/831535/is-there-a-perl-module-to-interface-to-google-contacts-api

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!