Skip to main content

Official Zvolv Python SDK

Project description

zvolv Python SDK

[image] [image] [image] [image]

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.7 or higher.

Usage

The Zvolv Hyper automation platform offers several APIs to build apps. Each Zvolv API delivers part of the capabilities from the platform, so that you can pick just those that fit for your needs. This SDK offers a corresponding package for each of Zvolv’s APIs.

Generate Zvolv authentication token and create a form submission

Utilize Zvolv SDK to create and update form submissions by obtaining an authentication token through the client, with examples demonstrating the creation and subsequent update of a form submission for a specified form ID using input data

import zvolv_sdk

# zvolv Application without credentials

client = zvolv_sdk.Client() 

# zvolv Application with credentials

zvolv_user_id = 'your_id'
zvolv_password = 'your_password'
zvolv_domain = 'your_zvolv_domain'
client = zvolv_sdk.Client(zvolv_user_id,zvolv_password,zvolv_domain)

# Create form submission 
form_id = 1150
input_data = {
  "646": "Akshay",
  "647": "CS",
  "648": "Pune",
  "649": "2023-12-24",
  "OverrideMetaData": False
}
print(client.create_form_submission(form_id, input_data))

# update form sumission
form_id = 1150
form_submission_id = 1171
input_data = {
  "646": "sandip",
  "647": "CS",
  "648": "Nashik",
  "649": "2023-12-30",
  "OverrideMetaData": False
}
print(client.update_form_submission(form_id,input_data,form_submission_id))

Here we also ensure that the response back from Zvolv is a successful one and that the message is the one we sent by using the assert statement.

Authentication Endpoints

  • Database ( authentication.Database )
  • Delegated ( authentication.Delegated )
  • Enterprise ( authentication.Enterprise )
  • API Authorization - Get Token ( authentication.GetToken)
  • Passwordless ( authentication.Passwordless )
  • RevokeToken ( authentication.RevokeToken )
  • Social ( authentication.Social )
  • Users ( authentication.Users )

Management Endpoints

  • Actions() (Zvolv().action)
  • AttackProtection() (Zvolv().attack_protection)
  • Blacklists() ( Zvolv().blacklists )
  • Branding() ( Zvolv().branding )

Supported Version

Only the current MAJOR version of SDK is supported. New features, functionality, bug fixes, and security updates will only be added to the current MAJOR version.

A current release is on the leading edge of our SDK development, and is intended for customers who are in active development and want the latest and greatest features. Instead of stating a release date for a new feature, we set a fixed minor or patch release cadence of maximum 2-3 months (while we may release more often). At the same time, there is no schedule for major or breaking release. Instead, we will communicate one quarter in advance the upcoming breaking change to allow customers to plan for the upgrade. We always recommend that all users run the latest available minor release for whatever major version is in use. We highly recommend upgrading to the latest SDK major release at the earliest convenient time and before the EOL date.

Copyright and License

Copyright (c) 2018 The Python Packaging Authority

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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

zvapi-0.0.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zvapi-0.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file zvapi-0.0.2.tar.gz.

File metadata

  • Download URL: zvapi-0.0.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for zvapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2bff87bd3bd1bdf4bb1bfc825c2252738af89f8d82137ba0109c4a7770b9359a
MD5 9321f2c42b33cd9f072c98fbf6612d0e
BLAKE2b-256 0d24c9267e15e39a84a65021fe1fdcb4b65cdad593c59526cce38fceb9352f34

See more details on using hashes here.

File details

Details for the file zvapi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: zvapi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for zvapi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d81daceff6e778d660bed62b050959a1a07d77caae5e9a491a2a1d713c75e441
MD5 e8dab3fb91101dccaebbf9aa8ceb955f
BLAKE2b-256 2969eada66bce90ae461f39fff92aee22f06224d1689c5b8c93be4bede060b0e

See more details on using hashes here.

Supported by

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