(filelist)
return {str(f["id"]): f["name"] for f in filelist}
Returns a dict associating figshare file id to filename

    Parameters
    ----------
    filelist : list of dict
        HTTP request response from fs_get_file_list

    Returns
    -------
    response : dict
        keys are file_id and values are file name
Returns a dict associating figshare file id to filename
Returns a dict associating figshare file id to filename
def fs_get_file_name(filelist):
    """Returns a dict associating figshare file id to filename

    Parameters
    ----------
    filelist : list of dict
        HTTP request response from fs_get_file_list

    Returns
    -------
    response : dict
        keys are file_id and values are file name
    """
    return {str(f["id"]): f["name"] for f in filelist}
def fs_get_file_name ( filelist ) : return { str ( f [ "id" ] ) : f [ "name" ] for f in filelist }