This package has been deprecated

Author message:

This package has been renamed. Install using @metriport/api-sdk instead.

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

5.0.3-alpha.2 • Public • Published

Metriport API 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

Setup

Medical API

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

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

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";

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

Weekly Downloads

35

Version

5.0.3-alpha.2

License

MIT

Unpacked Size

234 kB

Total Files

150

Last publish

Collaborators

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