def create_request_with_query(self, kind, query, size="<STR_LIT>", fmt="<STR_LIT>"):
if kind == "<STR_LIT:data>" or kind == "<STR_LIT>":<EOL><INDENT>url = "<STR_LIT>".format(base_url, kind, fmt)<EOL><DEDENT>elif kind == "<STR_LIT>":<EOL><INDENT>url = "<STR_LIT>".format(base_url, size, fmt)<EOL><DEDENT>self.url = url<EOL>self.r = requests.get(url, params=unquote(urlencode(query)))<EOL>
api/data.[fmt], api/images/[size].[fmt] api/files.[fmt]

        kind = ['data', 'images', 'files']