Skip to main content

DaoVoice Open API Python Sdk

Project description


pip install daovoice-sdk

Basic Usage

from daovoice.client import Client

daovoice_client = Client(token="Your Token Here")

Note that you can find your token in{app_id}/apps/settings/open-api



# Get Conversation by id
conversation = daovoice_client.conversations.get(id="conversation_id")
print conversation.conversation_parts
print conversation.conversation_message

# Reply

daovoice_client.conversations.reply(id="conversation_id",admin_id="***",body="reply msg")


# list admins
admins = daovoice_client.admins.all()
for ad in admins:


# create user
user = daovoice_client.user.create(user_id="123456",name="example", email="")

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

daovoice-sdk-0.0.5.tar.gz (5.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page