Skip to main content

Client for the scroller customer interactions database API.

Project description

scroller-customer-image-interactions-db-client

Python client for authenticated customer interactions API access.

Installation

pip install scroller-customer-image-interactions-db-client

Environment variables

  • SCROLLER_CUSTOMER_INTERACTIONS_DB_BASE_URL (default: http://localhost:8400)
  • SCROLLER_CUSTOMER_INTERACTIONS_DB_API_KEY (falls back to API_KEY)

Usage

from scroller_customer_interactions_db_client import (
    CustomerImageInteractionCreate,
    CustomerImageInteractionsDBAPIClient,
)

client = CustomerImageInteractionsDBAPIClient()
rows = client.get_customer_image_interactions(customer_id=123, limit=100)
stack_rank_cards = client.get_stack_rank_images(customer_id=123)
created = client.create_customer_image_interaction(
    CustomerImageInteractionCreate(customer_id=123, image_id=456, action=1, view_duration_ms=900)
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file scroller_customer_interactions_db_client-0.2.0.tar.gz.

File metadata

File hashes

Hashes for scroller_customer_interactions_db_client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3fe736d60802f495ab0aa94a791c3b5d769d13d9e9a678b05d2df78367c7965a
MD5 3fff1a1c182c632c885cb0e1a384df98
BLAKE2b-256 b3cde163a8e65b9c686fd3fe4ead7db724f28bc59be03128d7606da06c93e03b

See more details on using hashes here.

File details

Details for the file scroller_customer_interactions_db_client-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for scroller_customer_interactions_db_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d4e3c35f1015f4adbf1d3703b522039cc794c0bdd85c0cc98e5f1a9da6e13140
MD5 bf42718fc386c1658e8f6b304ed00fc5
BLAKE2b-256 783f850297f368b871bb7cfdeaa1ecf603d879a5165901ad6223b4276cac3db5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page