code: def reverse_ip_whois(self, query=None, ip=None, country=None, server=None, include_total_count=False, page=1,
                           **kwargs):
          
          if (ip and query) or not (ip or query):
              raise ValueError('Query or IP Address (but not both) must be defined')
  
          return self._results('reverse-ip-whois', '/v1/reverse-ip-whois', query=query, ip=ip, country=country,
                              server=server, include_total_count=include_total_count, page=page, items_path=('records', ),
                              **kwargs)
docs: Pass in an IP address or a list of free text query terms.