Saltar al contenido principal

Installation

Totalum SDK is an npm package, compatible with nodejs and browsers.

https://www.npmjs.com/package/totalum-api-sdk


npm i totalum-api-sdk

If you are using Totalum from a custom HTML and cannot import it with npm, use the following script:

    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/totalum-sdk.min.js"></script>

Warning: We only recommend using TotalumSdk from the frontend in a custom HTML page within Totalum, or from a Totalum plugin or event. In all other cases, we recommend using the SDK from your own backend.

If you use TotalumSdk from your own frontend that is open to the public, anyone could see your authentication token or apiKey, and could use it intentionally.