Usage

Access to FAIRsharing via its API.

ensure_fairsharing(force_download=False, use_tqdm=True, **kwargs)[source]

Get the FAIRsharing registry.

Return type

Path

load_fairsharing(force_download=False, use_tqdm=True, **kwargs)[source]

Get the FAIRsharing registry.

class FairsharingClient(login=None, password=None, base_url=None)[source]

A client for programmatic access to the FAIRsharing private API.

Instantiate the client and get an appropriate JWT token.

Parameters
get_jwt()[source]

Get the JWT.

Return type

str

iter_records()[source]

Iterate over all FAIRsharing records.

Return type

Iterable[Mapping[str, Any]]