Wellfriend DocumentsDevelopers

SDKs & CLI

SDKs for TypeScript, Python, Go and Rust, and a CLI.

Call the API from your language of choice, or from the command line, with the same keys and the same results.

Overview

What you get.

The TypeScript, Python and Go SDKs and the CLI cover the whole API: uploads (including resumable uploads for large files), versions and downloads, processing, secure links, analytics, webhooks, workflows, connectors, keys, usage and logs. The TypeScript and Python SDKs also cover embed sessions and secure-link recipients. The Rust SDK covers uploads, every tool, multi-step processing and downloads.

Every SDK is published on its language's package registry; the packages below show each one's current version, its install command and its package page.

Step by step

Up and running in four steps.

  1. 01

    Pick your language

    TypeScript for Node.js services, Python for backend and data work, Go or Rust for compiled services, or the CLI for scripts and CI.

  2. 02

    Configure the client

    Set the API address and your key from environment variables.

  3. 03

    Call typed methods

    Work with documents, jobs, links, analytics, webhooks, workflows, connectors and resources.

  4. 04

    Add your safeguards

    Add your own timeouts, cancellation, storage, output checks and monitoring around the client.

Built in

Current versions

The packages below show the version each registry serves today.

The API is the reference

If an SDK and the API reference ever disagree, the API reference is correct.

No secrets on the command line

The CLI reads your key from an environment variable and refuses keys typed as arguments.

Packages

Install from your package registry.

TypeScript

1.0.0 on npm
wellfriend-document-sdk
npm install wellfriend-document-sdk@latest
npm package page

Python

1.0.0 on PyPI
wellfriend-document-sdk
pip install -U wellfriend-document-sdk
PyPI package page

Go

v1.0.1 on pkg.go.dev
wellfriend.dev/go/wellfriend
go get wellfriend.dev/go/wellfriend@latest
pkg.go.dev package page

Rust

1.0.0 on crates.io
wellfriend-document-sdk
cargo add wellfriend-document-sdk
crates.io package page

CLI

1.0.0 on npm
wellfriend (in wellfriend-document-sdk)
npm install -g wellfriend-document-sdk@latest
npm package page