Skip to content

Client SDK Documentation

Purpose

Provide install and usage guidance for the Python client library.

Python client

Installation

pip install ontoportal-client

Client initialization

from ontoportal_client import ClientConfig, OntoPortalClient
client = OntoPortalClient(ClientConfig(api_key="YOUR_KEY"))

Common usage

results = client.search("melanoma", require_exact_match=True)

Notes

This repository provides a Python client. Other languages can call the REST API directly using standard HTTP clients.