【问题标题】:Windows live api for python适用于 python 的 Windows Live api
【发布时间】:2010-01-30 00:27:16
【问题描述】:

我已阅读有关 Windows Live API 的文档:http://msdn.microsoft.com/en-us/library/bb463989.aspx

但是如何使用 python 从 hotmail 中检索联系人?

有例子吗?

【问题讨论】:

    标签: python hotmail


    【解决方案1】:

    您的程序首先需要获得“委托身份验证”,Python 示例为here

    之后,该接口类似于 REST:您只需要 HTTP GET 适当的 URI(根据 the docs,即“/LiveContacts/contacts”来检索所有联系人。REST 架构记录在 here。您可以在 Python 中使用 urllib 和 urllib2 等标准库模块发出 HTTP GET 请求,尽管较低级别的 httplib 模块也可以。

    【讨论】:

      【解决方案2】:
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-08
      • 2013-04-10
      • 1970-01-01
      • 2018-05-02
      • 1970-01-01
      相关资源
      最近更新 更多