Official SDK libraries for MedIngest.
Accelerate your clinical workflow integration using our official SDK packages. Connect file systems and endpoints with minimal coding overhead.
// Node.js SDK example
import { MedIngestClient } from "@medingest/node";
const client = new MedIngestClient({ apiKey: "YOUR_API_TOKEN" });
async function processDocument() {
const document = await client.documents.ingest({
file: "./referral.pdf",
metadata: { channel: "api" }
});
console.log(`Ingested document: ${document.id}`);
}# Python SDK example
from medingest import MedIngestClient
client = MedIngestClient(api_key="YOUR_API_TOKEN")
document = client.documents.ingest(
file="./referral.pdf",
metadata={"channel": "api"}
)
print(f"Ingested document: {document.id}")