@booli/booli-api

    1.1.2 • Public • Published

    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

    Keywords

    none

    Install

    npm i @booli/booli-api

    DownloadsWeekly Downloads

    117

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    4.01 kB

    Total Files

    8

    Last publish

    Collaborators

    • linusvelin
    • booli.alexander
    • mrwest808
    • lers
    • claudijo_booli
    • marcusmalmberg
    • paso
    • filipchr
    • mickehalen