Skip to main content

DaoVoice Python Sdk

Installation

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 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

Metadata

Release files for daovoice-sdk 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for daovoice-sdk 0.0.2
File Size Uploaded Provenance Actions
daovoice-sdk-0.0.2.tar.gz 4.6 kB Without provenance Details for daovoice-sdk-0.0.2.tar.gz

Release files / daovoice-sdk-0.0.2.tar.gz

Download URL daovoice-sdk-0.0.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5a822f75d71d3e26153060104dc12dac8695d6502845172e80361928e9204446
BLAKE2b-256 checksum
How to use checksums
0b106b17bb443a6829618c45ab73bb020c997283b97c513b91edf4ce26985514
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for daovoice-sdk 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page