SDKs
Typed clients for
Python, Node, and Go.
Generated from the same OpenAPI spec the API is built from, so the types cannot drift from the endpoints. Retry, pagination, and idempotency are handled for you.
Install
npm install @moneyline/sdk # Node
pip install moneyline # Python
go get github.com/moneyline/go # GoIn practice
import { Moneyline } from '@moneyline/sdk';
const moneyline = new Moneyline({ apiKey: process.env.MONEYLINE_API_KEY });
const result = await moneyline.parse({
document: file,
type: 'auto',
});
// `type` narrows the result, so the fields below are checked
// at compile time rather than hoped for at runtime.
if (result.type === 'bank_statement') {
console.log(result.endingBalance, result.transactions.length);
}Generated, not hand-written
Every client comes from the OpenAPI spec. A new endpoint appears in all three SDKs in the same release.
Retries that respect the server
Exponential backoff on 5xx and 429, honouring Retry-After, with idempotency keys so a retried write cannot duplicate.
Pagination you do not write
List endpoints return async iterators. Loop over results and the cursor is handled underneath.
Errors you can branch on
Typed error classes per failure mode, so a rate limit, a validation failure, and a billing problem are distinguishable without parsing strings.
Start with
one document.
Install, authenticate, and parse your first file. No credit card, no sales call.