mkt.databases.oncokb.get_oncokb_levels

mkt.databases.oncokb.get_oncokb_levels() dict[str, str] | None[source]

Query the OncoKB API for the current levels of evidence.

Returns:

Mapping of level string (e.g. “LEVEL_1”) to its description, or None if the levels could not be retrieved from the API.

Return type:

dict[str, str] | None