Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 484 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 484 Bytes

claviz-node-api

Docs

Node.js API wrapper for Claviz.

Installation

npm install claviz-node-api

Example

const { ClavizClient, getClavizToken } = require("claviz-node-api");

(async () => {
  const url = "https://forms.claviz";
  const token = await getClavizToken(url, "[email protected]", "Passw0rd");
  const clavizClient = new ClavizClient(url, token);

  console.log(await clavizClient.getCurrentUser());
})();