DataTower.ai SDK for Python
Project description
DataTower.ai
This is the official Python SDK for DataTower.ai.
Easy Installation
You can get DataTower.ai SDK using pip.
pip install dtsdk
Once the SDK is successfully installed, use the SDK likes:
from dtsdk.sdk import DTAnalytics,DebugConsumer
dt = DTAnalytics(DebugConsumer(app_id="app_id_xxxx", token="xxxxxxxxxxxxxxxxxxxxxxx",server_url="https://xxxx"))
properties={"abc":123,"bcd":"xxx"}
dt.track(dt_id="aaaa",acid='bbbb',event_name="ad_click",properties=properties)
dt.flush()
dt.close()
More details
See here
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
dtsdk-2.0.0.tar.gz
(10.4 kB
view hashes)
Built Distribution
dtsdk-2.0.0-py3-none-any.whl
(10.7 kB
view hashes)