@metriport/api-sdk
TypeScript icon, indicating that this package has built-in type declarations

12.1.3 • Public • Published

Metriport API SDK Package

A package to get started using Metriport - universal and open-source API for healthcare data.

Usage

Check out the documentation at https://docs.metriport.com

Installation

npm install --save @metriport/api-sdk

Setup

Medical API

To use the Medical API, create a new instance of the MetriportMedicalApi class:

import { MetriportMedicalApi } from "@metriport/api-sdk";

const metriportClient = new MetriportMedicalApi("YOUR_API_KEY");

To connect to the sandbox:

new MetriportMedicalApi("YOUR_API_KEY", { sandbox: true });

Devices API

To use the Devices API, create a new instance of the MetriportDevicesApi class:

import { MetriportDevicesApi } from "@metriport/api-sdk";

const metriportClient = new MetriportDevicesApi("YOUR_API_KEY");

To connect to the sandbox:

new MetriportDevicesApi("YOUR_API_KEY", { sandbox: true });
            ,▄,
          ▄▓███▌
      ▄▀╙   ▀▓▀    ²▄
    ▄└               ╙▌
  ,▀                   ╨▄
  ▌                     ║
                         ▌
                         ▌
,▓██▄                 ╔███▄
╙███▌                 ▀███▀
    ▀▄
      ▀╗▄         ,▄
         '╙▀▀▀▀▀╙''


      by Metriport Inc.

Readme

Keywords

none

Package Sidebar

Install

npm i @metriport/api-sdk

Weekly Downloads

3,151

Version

12.1.3

License

MIT

Unpacked Size

407 kB

Total Files

215

Last publish

Collaborators

  • thomasyopes
  • jonahkaye
  • rgaripov
  • orta1021
  • rafaelleite
  • dgoncharov