Tags

跳转到: 导航, 搜索

目录

tags

返回指定用户的标签列表

URL

http://api.t.sina.com.cn/tags.format

格式

xml, json, rss, atom

HTTP请求方式

GET

是否需要登录:

true

请求数限制

true

请求参数

使用说明

  • 缺少参数,将返回400错误
  • 用户ID不存在,将返回500错误

返回结果

XML示例:

<?xml version="1.0" encoding="UTF-8"?>
<tags>
	<tag>
		<id>379</id>
		<value>新浪</value>
	</tag>
	<tag>
		<id>220</id>
		<value>abc</value>
	</tag>
	<tag>
		<id>144</id>
		<value>摄影</value>
	</tag>
	<tag>
		<id>201007310000010163</id>
		<value>edf</value>
	</tag>
	<tag>
		<id>32</id>
		<value>大秦帝国</value>
	</tag>
	<tag>
		<id>35</id>
		<value>桂林山水</value>
	</tag>
	<tag>
		<id>33</id>
		<value>江映蓉</value>
	</tag>
	<tag>
		<id>201007310000010110</id>
		<value>test</value>
	</tag>a
	<tag>
		<id>27</id>
		<value>街头篮球</value>
	</tag>
</tags>

Json示例:

[{"379":"新浪"},
{"220":"abc"},
{"144":"摄影"},
{"201007310000010163":"edf"},
{"32":"大秦帝国"},
{"35":"桂林山水"},
{"33":"江映蓉"},
{"201007310000010110":"test"},
{"27":"街头篮球"}]

使用示例