def get_file_list(self, type, page, count=<NUM_LIT:10>):
url = '<STR_LIT>'.format(<EOL>token=self.__token,<EOL>type=type,<EOL>random=round(random.random(), <NUM_LIT:3>),<EOL>begin=page*count,<EOL>count=count,<EOL>)<EOL>headers = {<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'.format(<EOL>token=self.__token,<EOL>),<EOL>'<STR_LIT>': self.__cookies,<EOL>}<EOL>r = requests.get(url, headers=headers)<EOL>try:<EOL><INDENT>message = json.dumps(json.loads(r.text)['<STR_LIT>'], ensure_ascii=False)<EOL><DEDENT>except (KeyError, ValueError):<EOL><INDENT>raise NeedLoginError(r.text)<EOL><DEDENT>return message<EOL>
获取素材库文件列表

返回JSON示例::

    {
        "type": 2,
        "file_item": [
            {
                "update_time": 1408723089,
                "name": "Doraemonext.png",
                "play_length": 0,
                "file_id": 206471048,
                "type": 2,
                "size": "53.7 K"
            },
            {
                "update_time": 1408722328,
                "name": "Doraemonext.png",
                "play_length": 0,
                "file_id": 206470809,
                "type": 2,
                "size": "53.7 K"
            }
        ],
        "file_cnt": {
            "voice_cnt": 1,
            "app_msg_cnt": 10,
            "commondity_msg_cnt": 0,
            "video_cnt": 0,
            "img_cnt": 29,
            "video_msg_cnt": 0,
            "total": 40
        }
    }

:param type: 文件类型 (2: 图片, 3: 音频, 4: 视频)
:param page: 页码 (从 0 开始)
:param count: 每页大小
:return: 返回的 JSON 数据
:raises NeedLoginError: 操作未执行成功, 需要再次尝试登录, 异常内容为服务器返回的错误数据