The Python library is available as a pip package.
Download Dots SDK for Python
pip install dots-python
import dots
dots.api_base = 'https://pls.senddotssandbox.com/v2/' # defaults to production
dots.client_id = 'pk_dev_...'
dots.api_key = 'sk_dev_...'
The Node.js library is available as a npm package.
Download the Dots SDK for NodeJS
npm install dots-node
const Dots = require("dots-node");
const apiURL = "https://pls.senddotssandbox.com/api"; // defaults to production
const dots = new Dots(
process.env.DOTS_CLIENT_ID,
process.env.DOTS_API_KEY,
apiURL
);
Was this page helpful?
The Python library is available as a pip package.
Download Dots SDK for Python
pip install dots-python
import dots
dots.api_base = 'https://pls.senddotssandbox.com/v2/' # defaults to production
dots.client_id = 'pk_dev_...'
dots.api_key = 'sk_dev_...'
The Node.js library is available as a npm package.
Download the Dots SDK for NodeJS
npm install dots-node
const Dots = require("dots-node");
const apiURL = "https://pls.senddotssandbox.com/api"; // defaults to production
const dots = new Dots(
process.env.DOTS_CLIENT_ID,
process.env.DOTS_API_KEY,
apiURL
);
Was this page helpful?