Blocks/blocking/en
目录 |
blocks/blocking
Returns theauthenticating user’s blockings in page, including blocked users’ profile.
URL
http://api.t.sina.com.cn/blocks/blocking.(json%7Cxml)
Supported Formats
XML/JSON
HTTP Request Method
GET
Requires Authentication
true
See the Authorization Mechanism Statement for authorization details
Requests Count Limitation
true
See the Interface Access Rights Statement for the Request Count Limitaiton details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | true | string | AppKey for the application to identify it. ( This parameter is not needed when using OAuth) |
page | false | int | Page number. |
count | false | int | Record counts of a single page. |
Notes
None
Example Request
- XML
- curl -u "username:password" "http://api.t.sina.com.cn/blocks/blocking.xml?source=appkey&count=5&page=1"
- JSON
- curl -u "username:password" "http://api.t.sina.com.cn/blocks/blocking.json?source=appkey&count=5&page=1"
Response
XML Example
<?xml version="1.0" encoding="UTF-8"?> <users> <user> <id>1266321801</id> <screen_name>姚晨</screen_name> <name>姚晨</name> <province>11</province> <city>5</city> <location>北京 朝阳区</location> <description>一颗很逊的卤蛋。</description> <url>http://blog.sina.com.cn/yaochen</url> <profile_image_url>http://tp2.sinaimg.cn/1266321801/50/1283203855</profile_image_url> <domain>yaochen</domain> <gender>f</gender> <followers_count>3285458</followers_count> <friends_count>620</friends_count> <statuses_count>2361</statuses_count> <favourites_count>14</favourites_count> <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at> <following>false</following> <verified>true</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> <status> <created_at>Mon Oct 18 11:44:53 +0800 2010</created_at> <id>3141808011</id> <text>冕冕,加油!</text> <source> <a href="http://news.sina.com.cn/wap/wbclient.html#3">iPhone客户端</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <retweeted_status> <created_at>Mon Oct 18 10:06:57 +0800 2010</created_at> <id>3140482259</id> <text>刚跑完100米圣途,蓮花山清幽的山徑,闊葉榕很高兴,我也很高兴。出山门了,这是我的"潮流"!答应妈妈了,要送给她!</text> <source> <a href="http://news.sina.com.cn/wap/wbclient.html#3">iPhone客户端</a> </source> <favorited>false</favorited> <truncated>false</truncated> <geo/> <in_reply_to_status_id/> <in_reply_to_user_id/> <in_reply_to_screen_name/> <thumbnail_pic>http://ss3.sinaimg.cn/thumbnail/3f1622c9492daa18d5612&690</thumbnail_pic> <bmiddle_pic>http://ss3.sinaimg.cn/bmiddle/3f1622c9492daa18d5612&690</bmiddle_pic> <original_pic>http://ss3.sinaimg.cn/orignal/3f1622c9492daa18d5612&690</original_pic> <user> <id>1058415305</id> <screen_name>行者孙冕</screen_name> <name>行者孙冕</name> <province>44</province> <city>1</city> <location>广东 广州</location> <description/> <url>http://blog.sina.com.cn/sunmian</url> <profile_image_url>http://tp2.sinaimg.cn/1058415305/50/1279874506</profile_image_url> <domain>sunmian</domain> <gender>m</gender> <followers_count>64184</followers_count> <friends_count>409</friends_count> <statuses_count>2269</statuses_count> <favourites_count>32</favourites_count> <created_at>Fri Aug 28 00:00:00 +0800 2009</created_at> <following>false</following> <verified>true</verified> <allow_all_act_msg>false</allow_all_act_msg> <geo_enabled>true</geo_enabled> </user> </retweeted_status> </status> </user> ....... </users>
JSON Example
[ { "allow_all_act_msg": false, "city": "5", "created_at": "Fri Aug 28 00:00:00 +0800 2009", "description": "一颗很逊的卤蛋。", "domain": "yaochen", "favourites_count": 14, "followers_count": 3284142, "following": false, "friends_count": 620, "gender": "f", "geo_enabled": true, "id": 1266321801, "location": "北京 朝阳区", "name": "姚晨", "profile_image_url": "http://tp2.sinaimg.cn/1266321801/50/1283203855", "province": "11", "screen_name": "姚晨", "status": { "created_at": "Mon Oct 18 11:44:53 +0800 2010", "favorited": false, "geo": null, "id": 3141808011, "in_reply_to_screen_name": "", "in_reply_to_status_id": "", "in_reply_to_user_id": "", "retweeted_status": { "bmiddle_pic": "http://ss3.sinaimg.cn/bmiddle/3f1622c9492daa18d5612&690", "created_at": "Mon Oct 18 10:06:57 +0800 2010", "favorited": false, "geo": null, "id": 3140482259, "in_reply_to_screen_name": "", "in_reply_to_status_id": "", "in_reply_to_user_id": "", "original_pic": "http://ss3.sinaimg.cn/orignal/3f1622c9492daa18d5612&690", "source": "<a href=\"http://news.sina.com.cn/wap/wbclient.html#3\" rel=\"nofollow\">iPhone客户端</a>", "text": "刚跑完100米圣途,蓮花山清幽的山徑,闊葉榕很高兴,我也很高兴。出山门了,这是我的"潮流"!答应妈妈了,要送给她!", "thumbnail_pic": "http://ss3.sinaimg.cn/thumbnail/3f1622c9492daa18d5612&690", "truncated": false, "user": { "allow_all_act_msg": false, "city": "1", "created_at": "Fri Aug 28 00:00:00 +0800 2009", "description": "", "domain": "sunmian", "favourites_count": 32, "followers_count": 64184, "following": false, "friends_count": 409, "gender": "m", "geo_enabled": true, "id": 1058415305, "location": "广东 广州", "name": "行者孙冕", "profile_image_url": "http://tp2.sinaimg.cn/1058415305/50/1279874506", "province": "44", "screen_name": "行者孙冕", "statuses_count": 2269, "url": "http://blog.sina.com.cn/sunmian", "verified": true } }, "source": "<a href=\"http://news.sina.com.cn/wap/wbclient.html#3\" rel=\"nofollow\">iPhone\u5ba2\u6237\u7aef</a>", "text": "冕冕,加油!", "truncated": false }, "statuses_count": 2361, "url": "http://blog.sina.com.cn/yaochen", "verified": true }, ...... ]
Others
None
文档更新时间: 2011-01-21