Skip to content
@affinity-health

affinity-health

Affinity Health

Affinity connects software platforms and healthcare practices to a network of compounding pharmacies. One API request creates, signs and sends a prescription order; Affinity tracks it until delivery.

Developers

Official SDKs

Each SDK is generated from the API contract with Fern.

Language Repository Install
TypeScript affinity-typescript npm install @affinity-health/sdk@next
Python affinity-python From GitHub, tag v0.4.1
Go affinity-go go get github.com/affinity-health/affinity-go@v0.4.2
Java affinity-java From GitHub, tag v0.4.1
C# affinity-csharp From GitHub, tag v0.4.1

The TypeScript SDK is a beta on npm's next tag. The other SDKs are not on a package registry yet; each README shows how to install from GitHub. More about the contract: affinity-openapi.

Every write takes an idempotency key. Save it with the order before you send it, and send the same key when you retry, so a retry never creates a second order.

Terms

  • A provider is an individual clinician or prescriber.
  • A practice is the customer organization and API tenant.

The SDKs are for trusted servers. Never put an Affinity API key in a browser, a mobile application, a public repository or a log.

Security

Report a vulnerability to support@affinityrx.com with "Security" in the subject. Do not open a public issue.

Popular repositories Loading

  1. affinity-typescript affinity-typescript Public

    Official TypeScript SDK for the Affinity API.

    TypeScript

  2. affinity-python affinity-python Public

    Official Python SDK for the Affinity API.

    Python

  3. affinity-go affinity-go Public

    Official Go SDK for the Affinity API.

    Go

  4. affinity-java affinity-java Public

    Official Java SDK for the Affinity API.

    Java

  5. affinity-openapi affinity-openapi Public

    OpenAPI specification and compatibility history for the Affinity API.

  6. affinity-sst-backend affinity-sst-backend Public archive

    Minimal TypeScript backend for the Affinity API, deployed to AWS with SST.

    TypeScript

Repositories

Showing 10 of 12 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…