Appearance
Gosset SDK โ
Use Gosset data and predictions in Python applications, notebooks and automated workflows. The SDK and CLI use the same data API, so you can turn an interactive CLI query into a repeatable script.
Choose a starting point โ
| Goal | Guide |
|---|---|
| Install the package and connect your account | Getting started |
| Query drugs, trials, companies, deals, news and conference abstracts | Programmatic data access |
| Predict trial progression from an NCT ID or trial parameters | PTRS predictions |
| Combine trial predictions or find similar V4 trials | PTRS programs and similarity |
| Look up SDK method signatures and PTRS endpoints | SDK and PTRS reference |
| Every REST endpoint, filter and response field | REST API reference |
| See what changed recently, and what is coming | What's new ยท Coming next |
A first query โ
python
from gosset import GossetClient
with GossetClient() as client:
page = client.query(
"drugs",
where={"field": "target", "op": "is", "value": "TL1A"},
fields=["drug_id", "name", "phase", "developers"],
limit=10,
)
for drug in page["results"]:
print(drug["name"], drug["phase"])Set GOSSET_API_KEY before running the example. Your account determines which data and prediction services are available.