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

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

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

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

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