claviz-node-api
v2.7.0-alpha.1
Published
[Docs](https://claviz-node-api.netlify.app/)
Downloads
11
Readme
claviz-node-api
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());
})();