Booli api utils


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + gzip package size for @booli/booli-api in KB


Booli api

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


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.



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.