Skip to main content

Tools for talking to the Tessitura API

Project description

Tessitura

Tools for talking to the Tessitura API from Python. This is all just wet paint at the moment.

Requires Python 3.6+

To install just do:

$ pip install tessitura

To use see the following example:

import tessitura
import pprint

endpoint = "https://your.tessitura-endpoint.org/TessituraService/"
credentials = "username:group:location:password"

# The REST API method you wish to call. This may need to be created with other information depending on the request, such as a session id -- See Tessitura documentation for more information. Please note there should be no trailing slash at the end.

method = "Diagnostics/Status"

# The type of request you wish to make. Currently supports GET and POST.

request_type = "GET"

# Use this to add any query string parameters to a GET request
params = {}

# Use this to add any form data to a POST request
data = {}

# Call the API
rsp = tessitura.rest_call(endpoint, credentials, request_type, method, params=params, data=data)

# Print out the results in JSON format
pprint.pprint(rsp)

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

tessitura-0.0.6.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

tessitura-0.0.6-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file tessitura-0.0.6.tar.gz.

File metadata

  • Download URL: tessitura-0.0.6.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for tessitura-0.0.6.tar.gz
Algorithm Hash digest
SHA256 8b86232293075963f3d18509de7a9401d583b4def9a2e88eebf8f44fc86895b1
MD5 905149cdf7364a97477d23c1ea844b1d
BLAKE2b-256 beaed5adcfeefd5aa61419c9c78acfbb8378522c78d8f9dc082803af64444450

See more details on using hashes here.

File details

Details for the file tessitura-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: tessitura-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for tessitura-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c4f987de3c69a6a415c96c7c3d4381afde2a09a4424de66b86f386b6ca15b2fa
MD5 7333c027698c1d6f720a603170c148e8
BLAKE2b-256 ffa2ae8da506401dbf727e15e3652e27f20b1ec9dd6152c3ddaa6238a9ccca95

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