(self, hash)
Get information on the file
Get information on the file
Get information on the file
def file_info(self, hash):
        """
        Get information on the file
        """
        data = self._request({'action': 'details', 'hash': hash})
        if "Sample not found" in data.text:
            raise MalShareNotFound()
        else:
            return data.json()
def file_info ( self , hash ) : data = self . _request ( { 'action' : 'details' , 'hash' : hash } ) if "Sample not found" in data . text : raise MalShareNotFound ( ) else : return data . json ( )