(self, domain_or_ip, limit=None)
return self.apiquery(uri.format(domain_or_ip), params)
Find domains sharing the same web host.
Find domains sharing the same web host.
Find domains sharing the same web host .
def reverse_ip(self, domain_or_ip, limit=None):
        """Find domains sharing the same web host."""
        params = {}
        if limit:
            params = {'limit':limit}
        if re.search('^(\d{1,3}\.){3}(\d{1,3})$',domain_or_ip):
            uri = '/v1/{}/host-domains/'
        else:
            uri = '/v1/{}/reverse-ip/'
        return self.apiquery(uri.format(domain_or_ip), params)
def reverse_ip ( self , domain_or_ip , limit = None ) : params = { } if limit : params = { 'limit' : limit } if re . search ( '^(\d{1,3}\.){3}(\d{1,3})$' , domain_or_ip ) : uri = '/v1/{}/host-domains/' else : uri = '/v1/{}/reverse-ip/' return self . apiquery ( uri . format ( domain_or_ip ) , params )