模板:Api desc2
目录 |
{{{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}}}