wfexs_backend.fetchers.osf_io#

Module Contents#

Functions#

fetchOSFIO

Method to fetch files from osf.io datasets.

Data#

API#

wfexs_backend.fetchers.osf_io.OSF_IO_SCHEME = 'osf.io'#
wfexs_backend.fetchers.osf_io.OSF_IO_RECORD_REST = 'https://api.osf.io/v2/nodes/'#
wfexs_backend.fetchers.osf_io.fetchOSFIO(remote_file: wfexs_backend.common.URIType, cachedFilename: wfexs_backend.common.PathLikePath, secContext: SecurityContextConfig | None = None) wfexs_backend.fetchers.ProtocolFetcherReturn#

Method to fetch files from osf.io datasets.

Parameters:
  • remote_file

  • cachedFilename – Destination filename for the fetched content

  • secContext – The security context containing the credentials