code: def get_reports(self, report_ids):
          '''
          Get reports by list of ids
          :param report_ids: list of reports ids
          :return dictionary of id/report (json string)
          '''
          res = {}
          for rid in report_ids:
              print('Fetching report %d' % rid)
              resp = requests.get('%s/api/report?report_id=%d' % (self.url, rid))
              if resp.status_code != 200:
                  print('[!] failed to fetch report %d' % rid)
              else:
                  res[rid] = resp.text
          return ref get_reports(self, report_ids):
          '''
          Get reports by list of ids
          :param report_ids: list of reports ids
          :return dictionary of id/report (json string)
          '''
          res = {}
          for rid in report_ids:
              print('Fetching report %d' % rid)
              resp = requests.get('%s/api/report?report_id=%d' % (self.url, rid))
              if resp.status_code != 200:
                  print('[!] failed to fetch report %d' % rid)
              else:
                  res[rid] = resp.text
          return res
docs: Get reports by list of ids
          :param report_ids: list of reports ids
          :return dictionary of id/report (json string)