The Zvolv API Platform SDK for Python
Project description
ZvolvClient SDK
Learn how to automate with Zvolv using Python.
Documentation
- Docs site - explore our docs site and learn more about Zvolv.
- User Guide - explore our user guide docs and learn more about sdk.
Getting started
Installation
You can install the Zvolv Python SDK using the following command.
pip install zvolv-sdk
Requires Python 3.0 or higher.
Usage
Initialize ZvolvClient
constructor(base_url: string)
Initializes the ZvolvClient with the base url of the Zvolv server.
Once the package is installed, you can import the library using import or require approach:
from zvolv_sdk import ZvolvClient
client = ZvolvClient('http://twig-me.com')
Initialize Workspace
methods for interacting with workspaces.
try:
workspace = client.workspace.init('kapilwf')
except Error:
print(Error)
Perform Authentication
methods for authentication.
try:
login = client.auth.login('email', 'pass')
except Error:
print(Error)
Perform Analytics Search
methods for performing analytics-related operations.
try:
analytics = client.analytics.search('65c470f6dab3102c930725ca', { 'query': { 'match_all': {} }, 'from': 0, 'size': 20, 'track_total_hits': True)
except Error:
print(Error)
Feedback
If you get stuck, we’re here to help. The following are the best ways to get assistance working through your issue:
Use our Github Issue Tracker for reporting bugs or requesting features. Visit the Zvolv Community for getting help using Slack Developer Kit for Python or just generally bond with your fellow Zvolv developers.
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
Built Distribution
Hashes for zvolv_sdk-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dd7d12a14e635b5561ed9a9ab8aa11840c39f863b74a36165347375b6391da7 |
|
MD5 | 444fd3be3132789c4b77553c51754631 |
|
BLAKE2b-256 | d3759f1118ef1dfc0131c080b80a539b83694fbc0ef556444e52c7f12e9947c4 |