spektrixpython
A Python 3 module for interacting with Spektrix API v3. This module is written by a third party and is not supported by or affiliated with Spektrix.
For API v3 documentation, visit https://system.spektrix.com/<clientname>/api/v3/help,
replacing <clientname> with your Spektrix system name.
Usage
Installation
pip install spektrixpython
Example
from spektrixpython import SpektrixCredentials, SpektrixRequest
credentials = SpektrixCredentials(client_name="SPEKTRIX CLIENT NAME",
api_user="API USERNAME",
api_key="API KEY")
# Get a list of events
events = SpektrixRequest(endpoint='events', credentials=credentials).get()
print(events)
# Create a new basket
basket = SpektrixRequest(endpoint='baskets', credentials=credentials).post()['id']
# Add a merchandise item to the newly created basket
endpoint = 'baskets/{}/merchandise'.format(basket)
# Replace this stockItem Id with one from your Spektrix system.
payload = {'stockItem':'1AHGJDSMMPLMPPGNLJBQVLBRSKVDLQRPP'}
SpektrixRequest(endpoint=endpoint, credentials=credentials).post(payload)
License
This module is licensed under the MIT License. Please see the LICENSE file for full details.
Metadata
Release files for spektrixpython 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| spektrixpython-0.6.1.tar.gz | 3.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| spektrixpython-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / spektrixpython-0.6.1.tar.gz
| Download URL | spektrixpython-0.6.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
892327544b2f7a545b238d26c3a4f32ac412fb58e1fbb5bf1d7176486c951ade
|
|
BLAKE2b-256 checksum How to use checksums |
10d17fea728e230a725f2322642e3bd758ce1d4ff92f07933ad05391a92b4ca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.11.2 Darwin/22.2.0
|
Release files / spektrixpython-0.6.1-py3-none-any.whl
| Download URL | spektrixpython-0.6.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd447f314cc68cc4d80fbd648aef4c943d9cd2ab642d74d503a1dce659d7b36d
|
|
BLAKE2b-256 checksum How to use checksums |
770160260a7ea3b6a1e53c1be29fced2cffd900a4ff1132127c9c9d0ec5985ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.11.2 Darwin/22.2.0
|
Security for spektrixpython 0.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.