def get_shrink_data_info(in_data, api_key=None):
    """Shrink binary data of a png

    returns api_info
    """
    if api_key:
        return _shrink_info(in_data, api_key)

    api_keys = find_keys()
    for key in api_keys:
        try:
            return _shrink_info(in_data, key)
        except ValueError:
            pass

    raise ValueError('No valid api key found')
def get_shrink_data_info ( in_data , api_key = None ) : if api_key : return _shrink_info ( in_data , api_key ) api_keys = find_keys ( ) for key in api_keys : try : return _shrink_info ( in_data , key ) except ValueError : pass raise ValueError ( 'No valid api key found' )
Shrink binary data of a png

    returns api_info