1.1.2 • Published 3 years ago

@booli/booli-api v1.1.2

Weekly downloads
51
License
MIT
Repository
-
Last release
3 years ago

Booli api

Helper for the official booli api. See https://www.booli.se/api/

booliApi.generateAuthParams

For use on server side, since the api secret should not be exposed publicly in a web app.

Example usage

import { generateAuthParams } from '@booli/booli-api';

const params = generateAuthParams('my-caller-id', 'my-api-secret');

const { callerId, time, unique, hash } = params;

The params object can for instance be transformed to query parameters using a library like qs.

Polyfills

None