空间H5游戏-后台接口

/v3/pet/get_user_rank

pf=qzone pf=wanba_ts

拉取宠物游戏好友排行榜

URL

https://api.urlshare.cn/v3/pet/get_user_rank

私有参数

参数名称 是否必须 类型 描述
start int 分页拉取时,起始索引
count int 需要拉取的数量
needLoveScore int 是否需要与该好友的缘份值,0不需要,非0为需要

正确返回示例

{
    "code": 0,
    "subcode": 0,
    "message": "",
    "default": 0,
    "data": {
        "code": 0,
        "me": {
            "level": 15,
            "nick": "张三",
            "openid": "abcdefg123456789abcdefg123456789",
            "rank": 2,
            "score": 100746,
            "titleV2": "驯宠萌新II"
        },
        "rank": [{
            "level": 14,
            "nick": "李四",
            "openid": "abcdefg123456789abcdefg123456789",
            "rank": 1,
            "score": 69883,
            "titleV2": "驯宠萌新I"
        },
        {
            "level": 15,
            "nick": "张三",
            "openid": "abcdefg123456789abcdefg123456789",
            "rank": 2,
            "score": 100746,
            "titleV2": "驯宠萌新II"
        }],
        "rankListLength": 37
    }
}