-
Notifications
You must be signed in to change notification settings - Fork 70
users.show.rest
lisztli edited this page Apr 26, 2012
·
2 revisions
#GET /users/:userid
显示指定的用户
##路径
http://rest.fanfou.com/users/:userid
##调用方法
GET
##参数:
|作用 |格式 |字段说明
--------|-----------|-----------|------------ :userid |指定用户id(@~me表示当前登录用户)| |必选
##返回值:
显示指定的用户
- 使用方法
curl -X GET "rest.fanfou.com/users/@~me?oauth_token=oauth_token" | python -mjson.tool
- 返回值
{
"created_at": "Sat May 12 15:58:58 +0000 2007",
"description": "my_desc",
"favourites_count": 72,
"followed": false,
"followers_count": 622,
"following": false,
"friends_count": 154,
"id": 113412,
"location": "Peking",
"profile_image_url": "http://avatar.lcff.com/s0/00/3e/r4.jpg?1334140470",
"profile_image_url_large": "http://avatar.lcff.com/l0/00/3e/r4.jpg?1334140470",
"protected": false,
"screen_name": "\u7a46\u8363\u5747\u5747\u5747",
"statuses_count": 6647,
"url": "moon",
"website": "http://nimei.org"
}