Learn how to automate with Zvolv using Python.
- Docs site - explore our docs site and learn more about Zvolv.
- User Guide - explore our user guide docs and learn more about sdk.
You can install the Zvolv Python SDK using the following command.
pip install zvolv-sdk
Requires Python 3.0 or higher.
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')
methods for interacting with workspaces.
try:
workspace = client.workspace.init('kapilwf')
except Error:
print(Error)
methods for authentication.
try:
login = client.auth.login('email', 'pass')
except Error:
print(Error)
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)
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.