wfexs_backend.fetchers.b2share#

Module Contents#

Functions#

fetchB2SHARE

Method to fetch files from B2SHARE datasets. It is quite similar to Zenodo.

Data#

API#

wfexs_backend.fetchers.b2share.B2SHARE_SCHEME = 'b2share'#
wfexs_backend.fetchers.b2share.B2SHARE_RECORD_REST = 'https://b2share.eudat.eu/api/records/'#
wfexs_backend.fetchers.b2share.fetchB2SHARE(remote_file: wfexs_backend.common.URIType, cachedFilename: wfexs_backend.common.PathLikePath, secContext: SecurityContextConfig | None = None) wfexs_backend.fetchers.ProtocolFetcherReturn#

Method to fetch files from B2SHARE datasets. It is quite similar to Zenodo.

Parameters:
  • remote_file

  • cachedFilename – Destination filename for the fetched content

  • secContext – The security context containing the credentials