@ddclarivate/fingertip-veeva-api-v2
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

ddclarivate/fingertip-veeva-api-v2 - A TypeScript client for the DRG Fingertip Formulary API (v2).

Getting Started

Installation

This is a JavaScript module available through the npm registry.

$ yarn add ddclarivate/fingertip-veeva-api-v2

NOTE: As this is currently an internal package, you need to be logged in to npm + added to the npm entreprise account. Feel free to ask in #developers or #javascript.

Usage

Get Formulary Statuses

import { DRGv2 } from "ddclarivate/fingertip-veeva-api-v2";

const { VAULT_DNS, USERNAME, PASSWORD } = process.env;

const client = new DRGv2({
  apiKey: "some-api-key",
});

(async () => {
  const response = await client.get("/states/", {});
  console.log(`Found ${response.data.length} US states.`);
  // output: Found 53 formulary status(es).
})();

Roadmap

This library is being initially developed for an internal project, so API methods will likely be implemented in the order that they are needed. Eventually, I would like to cover the entire API, so contributions are of course always welcome. The calling pattern is pretty well established, so adding new methods is relatively straightforward.

Extra Information

Readme

Keywords

none

Package Sidebar

Install

npm i @ddclarivate/fingertip-veeva-api-v2

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

624 kB

Total Files

43

Last publish

Collaborators

  • ddclarivate