@booli/booli-api

Booli api utils

Stats

StarsIssuesVersionUpdatedCreatedSize
@booli/booli-api
1.1.29 months ago4 years agoMinified + gzip package size for @booli/booli-api in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.