Account/get notice

跳转到: 导航, 搜索
(PHP示例)
(account/get_notice)
 
(未显示1个用户的1个中间版本)
第2行: 第2行:
 
获取用户提醒设置 。
 
获取用户提醒设置 。
  
{{api_url|account/verify_credentials}}
+
{{api_url|account/get_notice}}
 
   
 
   
 
{{api_format|xml, json}}
 
{{api_format|xml, json}}
第28行: 第28行:
  
 
* xml:
 
* xml:
curl -u uid:password http://api.t.sina.com.cn/account/verify_credentials.xml?source=appkey
+
curl -u uid:password http://api.t.sina.com.cn/account/get_notice.xml?source=appkey
  
 
* json:
 
* json:
  
curl -u uid:password http://api.t.sina.com.cn/account/verify_credentials.json?source=appkey
+
curl -u uid:password http://api.t.sina.com.cn/account/get_notice.json?source=appkey

2010年10月26日 (二) 11:50的最后版本

目录

account/get_notice

获取用户提醒设置 。

URL

http://api.t.sina.com.cn/account/get_notice.format

格式

xml, json

HTTP请求方式

GET

是否需要登录

True

请求数限制

False

关于请求数限制,参见接口访问权限说明

请求参数

返回结果:

XML

<?xml version="1.0" encoding="UTF-8"?> <result> <follower>0</follower> <status_type>0</status_type> <from_user>0</from_user> <dm>0</dm> <mention>0</mention> <comment>0</comment> </result>

JSON

{"follower":0,"status_type":0,"from_user":0,"dm":0,"mention":0,"comment":0}

使用示例:

  • xml:

curl -u uid:password http://api.t.sina.com.cn/account/get_notice.xml?source=appkey

  • json:

curl -u uid:password http://api.t.sina.com.cn/account/get_notice.json?source=appkey

文档更新时间: 2010-10-26