code: def export_pdf(self, filename):
          
          self.make_request(
              raw_result=True,
              resource='export',
              filename=filename, 
              headers = {'accept': 'application/pdf'})
docs: Export the report in PDF format. Specify a path for which
          to save the file, including the trailing filename.
          
          :param str filename: path including filename
          :return: None