def get_quota(cookie, tokens):
url = '<STR_LIT>'.join([<EOL>const.PAN_API_URL,<EOL>'<STR_LIT>',<EOL>'<STR_LIT>', util.timestamp(),<EOL>])<EOL>req = net.urlopen(url, headers={'<STR_LIT>': cookie.header_output()})<EOL>if req:<EOL><INDENT>content = req.data<EOL>return json.loads(content.decode())<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
获取当前的存储空间的容量信息.