模板:Api desc2

跳转到: 导航, 搜索
第20行: 第20行:
 
!width="20%" style="text-align:center;font-weight:bolder"|类型及范围
 
!width="20%" style="text-align:center;font-weight:bolder"|类型及范围
 
!width="65%" style="text-align:center;font-weight:bolder"|说明
 
!width="65%" style="text-align:center;font-weight:bolder"|说明
 +
|-
 
{{{params}}}
 
{{{params}}}
 
|}
 
|}

2010年11月30日 (二) 15:56的版本

目录

{{{uri}}}

{{{desc}}}

URL

http://api.t.sina.com.cn/{{{uri}}}.format

返回格式

{{{format}}}

HTTP请求方式

{{{httpMethod}}}

是否需要登录

{{{needAuth}}} 关于授权机制,参见授权机制声明

请求数限制

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

参数

{{{params}}}
  必选 类型及范围 说明

调用示例

XML
curl -u "uid:password" "http://api.t.sina.com.cn/{{{uri}}}.xml{{{requestDemo}}}source=appkey"
JSON
curl -u "uid:password" "http://api.t.sina.com.cn/{{{uri}}}.json{{{requestDemo}}}source=appkey"

返回结果

{{{result}}}

使用说明

{{{useAge}}}

其他

{{{otherInfo}}}