0.0.13 • Published 4 months ago
@vollq/contracts v0.0.13
VollQ API Contracts
This package contains an API client for public facing VollQ endpoints.
You can use this package to make API requests to VollQ public facing API.
Install
Install via NPM:
npm i @vollq/contracts
Usage
You can make API requests via:
import { getAuthenticatedClient } from '@vollq/contracts/client'
// get authenticated client with token
const client = getAuthenticatedClient('vollq-b82b312d-4d44-40a3-bb5a-02529417e2d7')
// fetch all tests
const response = await client.tests.get()
console.log(response.body)