Skip to main content

DaoVoice Open API Python Sdk

Project description

from daovoice.client import Client

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

Note that you can find your token in http://dashboard.daovoice.io/app/{app_id}/apps/settings/open-api

Resources

Resources this API supports:

https://api.daovoice.io/v1/conversations https://api.daovoice.io/v1/admins

Examples

Conversations

# 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")

Admins

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

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.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

daovoice_sdk-0.0.1-py2.7.egg (14.6 kB view details)

Uploaded Egg

File details

Details for the file daovoice-sdk-0.0.1.tar.gz.

File metadata

File hashes

Hashes for daovoice-sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c74221d3ff416db6179c1fd22e43421c4cff18696041a6e704e5d57cf68cb47f
MD5 63ad2cc3a4fc6f2fb631b3ea61ae4ad7
BLAKE2b-256 17c150430aaed419708a2f541d431f5cbf7031236506d226b5b2d86cd79ba6f6

See more details on using hashes here.

File details

Details for the file daovoice_sdk-0.0.1-py2.7.egg.

File metadata

File hashes

Hashes for daovoice_sdk-0.0.1-py2.7.egg
Algorithm Hash digest
SHA256 4b1bfee7850a3f7cf940a85ba3540a50014a2944b2b941d8669816b32a2e465a
MD5 f8a7e16c8b50c102222b8c9650f778b5
BLAKE2b-256 819812dc54b5bef9f018d50dbb4262db82050abc08fa96e035810d10d4c597f4

See more details on using hashes here.

Supported by

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