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
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
User
# create user
user = daovoice_client.user.create(user_id="123456",name="example", email="example@daovoice.io")
Metadata
Release files for daovoice-sdk 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| daovoice-sdk-0.0.8.tar.gz | 5.1 kB | Without provenance | Details for daovoice-sdk-0.0.8.tar.gz |
Release files / daovoice-sdk-0.0.8.tar.gz
| Download URL | daovoice-sdk-0.0.8.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e36a8e9ebc8201d592a8ff100a2ff280d2b41d8ba2f841846791e21eff816985
|
|
BLAKE2b-256 checksum How to use checksums |
f63326232aafdd2766ad9d2b829c683930005074455b5457cb90c05597511ae0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for daovoice-sdk 0.0.8
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.