• 欢迎浏览“String me = Creater\忠实的资深Linux玩家;”,请文明浏览,理性发言,有侵犯你的权益请邮件我(creater@vip.qq.com).
  • 把任何的失败都当作一次尝试,不要自卑;把所有的成功都想成是一种幸运,不要自傲。
  •    5年前 (2013-07-07)  Android |   抢沙发  27 
    文章评分 0 次,平均分 0.0

    通过用户名请求用户信息

    /api/members/show.json?username=creater
    {
        "status" : "found",
        "id" : 124227,
        "url" : "http://www.v2ex.com/member/creater",
        "username" : "creater",
        "website" : "unix8.net",
        "twitter" : "",
        "psn" : "",
        "github" : "",
        "btc" : "",
        "location" : "",
        "tagline" : "",
        "bio" : "",
        "avatar_mini" : "//cdn.v2ex.co/gravatar/66103e121af7a4496eff575016a1e294?s=24&d=retro",
        "avatar_normal" : "//cdn.v2ex.co/gravatar/66103e121af7a4496eff575016a1e294?s=48&d=retro",
        "avatar_large" : "//cdn.v2ex.co/gravatar/66103e121af7a4496eff575016a1e294?s=73&d=retro",
        "created" : 1435286217
    }
    

    通过用户名请求

    /topics/show.json?username=creater
    [{
        
        "id" : 204050,
        "title" : "如何找领导办一件私事?",
        "url" : "http://www.v2ex.com/t/204050",
        "content" : "该怎么开口呢?",
        "content_rendered" : "\u003Cp\u003E该怎么开口呢?\u003C/p\u003E\u000A",
        "replies" : 3,
        "member" : {
            "id" : 124227,
            "username" : "creater",
            "tagline" : "",
            "avatar_mini" : "//cdn.v2ex.co/gravatar/66103e121af7a4496eff575016a1e294?s=24&d=retro",
            "avatar_normal" : "//cdn.v2ex.co/gravatar/66103e121af7a4496eff575016a1e294?s=48&d=retro",
            "avatar_large" : "//cdn.v2ex.co/gravatar/66103e121af7a4496eff575016a1e294?s=73&d=retro"
        },
        "node" : {
            "id" : 12,
            "name" : "qna",
            "title" : "问与答",
            "url" : "http://www.v2ex.com/go/qna",
            "topics" : 52413,
            "avatar_mini" : "//cdn.v2ex.co/navatar/c20a/d4d7/12_mini.png?m=1434537173",
            "avatar_normal" : "//cdn.v2ex.co/navatar/c20a/d4d7/12_normal.png?m=1434537173",
            "avatar_large" : "//cdn.v2ex.co/navatar/c20a/d4d7/12_large.png?m=1434537173"
        },
        "created" : 1436276707,
        "last_modified" : 1436276707,
        "last_touched" : 1436279480
        
    }]
     

    除特别注明外,本站所有文章均为String me = "Creater\忠实的资深Linux玩家";原创,转载请注明出处来自http://unix8.net/home.php/4081.html

    关于

    发表评论

    暂无评论

    切换注册

    登录

    忘记密码 ?

    切换登录

    注册

    扫一扫二维码分享