Skip to main content

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

zvolv_sdk-0.0.10.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

zvolv_sdk-0.0.10-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

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