def query_rpdns(self):
        """
        Queries robtex reverse pdns-api using an ip as parameter

        :return: Dictionary containing results
        :rtype: list
        """
        results = requests.get('https://freeapi.robtex.com/pdns/reverse/{}'.format(self.get_data())).text.split('\r\n')
        jsonresults = []
        for idx, r in enumerate(results):
            if len(r) > 0:
                jsonresults.append(json.loads(r))
        return jsonresults
def query_rpdns ( self ) : results = requests . get ( 'https://freeapi.robtex.com/pdns/reverse/{}' . format ( self . get_data ( ) ) ) . text . split ( '\r\n' ) jsonresults = [ ] for idx , r in enumerate ( results ) : if len ( r ) > 0 : jsonresults . append ( json . loads ( r ) ) return jsonresults
Queries robtex reverse pdns-api using an ip as parameter

        :return: Dictionary containing results
        :rtype: list