/visma-sign-api-python

Primary LanguagePythonApache License 2.0Apache-2.0

Python bindings for the Visma Sign API v1

Visma Sign is used for electronically signing documents like agreements, terms of service, etc. The Visma Sign Python library provides convenient access to the Visma Sign API v1 from applications written in the Python language.

Documentation

See the API docs.

Requirements

  • Python 3.6+

Installation

  • Install from source with:
python setup.py install

Configuring

import visma_sign

visma_sign.identifier = 'organization-identifier-uuid-here'
visma_sign.secret = 'organization-secret-here'
visma_sign.api_url = 'https://sign.visma.net'

Usage

import visma_sign

payload = {"document":{"name":"Java test"}}
client = ApiClient()
documentUuid = client.createDocument( json.dumps(payload) )