Skip to content

Quickstart

Terminal window
pip install deepdots

Import Deepdots and pass your account credentials. The constructor authenticates immediately and stores the bearer token for all subsequent requests.

from deepdots_sdk import Deepdots
client = Deepdots(
user="you@example.com",
password="your-password",
)

List the products registered under your account:

products = client.products.get()
for product in products:
print(product["id"], product["name"])
feedback = client.feedbacks.create({
"name": "First submission",
"type": "APP",
"identity": "MAGICFORM",
"answers": [
{"key": "rating", "value": "5"},
{"key": "comment", "value": "Works great!"},
],
"integrationId": "<your-integration-id>",
"companyId": "<your-company-id>",
"productId": "<your-product-id>",
})
print(feedback["id"])