def user_record(uid, type=0):
    """获取用户的播放列表,必须登录

    :param uid: 用户的ID，可通过登录或者其他接口获取
    :param type: (optional) 数据类型，0：获取所有记录，1：获取 weekData
    """
    if uid is None:
        raise ParamsError()
    r = NCloudBot()
    r.method = 'USER_RECORD'
    r.data = {'type': type, 'uid': uid, "csrf_token": ""}
    r.send()

    return r.response
def user_record ( uid , type = 0 ) : if uid is None : raise ParamsError ( ) r = NCloudBot ( ) r . method = 'USER_RECORD' r . data = { 'type' : type , 'uid' : uid , "csrf_token" : "" } r . send ( ) return r . response
获取用户的播放列表,必须登录

    :param uid: 用户的ID，可通过登录或者其他接口获取
    :param type: (optional) 数据类型，0：获取所有记录，1：获取 weekData