模板:Api desc2
(→使用说明) |
|||
第30行: | 第30行: | ||
== 返回结果 == | == 返回结果 == | ||
{{{result}}} | {{{result}}} | ||
− | == | + | == 注意事项 == |
{{{useAge}}} | {{{useAge}}} | ||
+ | |||
== 其他 == | == 其他 == | ||
{{{otherInfo}}} | {{{otherInfo}}} |
2010年11月30日 (二) 16:33的版本
目录 |
{{{uri}}}
{{{desc}}}
URL
http://api.t.sina.com.cn/{{{uri}}}.format
返回格式
{{{format}}}
HTTP请求方式
{{{httpMethod}}}
是否需要登录
{{{needAuth}}} 关于授权机制,参见授权机制声明
请求数限制
{{{rateLimit}}} 关于请求数限制,参见接口访问权限说明
参数
必选 | 类型及范围 | 说明
{{{params}}} | |
---|---|---|---|
source | true | int | 申请应用时分配的AppKey,调用接口时候代表应用的唯一身份。 |
调用示例
- 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}}}