prestashop-python
prestashop-python is an API wrapper for Prestashop, written in Python.
Installing
pip install prestashop-python
Usage
client = Client(webservice_key, domain)
Check API features
response = client.check_api_features()
List service (customers, orders, carts, countries, states...)
response = client.list_service(service, filter_field=None, filter_operator=None, filter_value=None, is_date_filter=False,
sort_field=None, sort_order="ASC", limit=100)
# Some service options are: "customers", "orders", "carts", "countries", "states", "addresses"
# Filter operation options = "!" not equal, "" equal, ">" greater than,"<" less than
# set is_date_filter to True if you are filtering a date field.
For a full list of available services, check: https://devdocs.prestashop-project.org/8/webservice/resources/
List inactive carts
response = client.list_inactive_carts(inactive_before, inactive_from=None, sort_field=None, sort_order="ASC", limit=100)
# Checks all carts without an order and inactive before parameter 'inactive_before'.
# If 'inactive_from' is added, it will check inactive carts between inactive_from and inactive_before time.
# inactive_before and inactive_from format must be: 2023-02-13 13:31:28 (string).
# Sort order only works if sort_field is added.
Metadata
Release files for prestashop-python 0.1.4
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 | Actions |
|---|---|---|---|---|
| prestashop_python-0.1.4.tar.gz | 3.3 kB | Without provenance | Details for prestashop_python-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prestashop_python-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for prestashop_python-0.1.4-py3-none-any.whl |
Total release size: 7.8 kB
Release files / prestashop_python-0.1.4.tar.gz
| Download URL | prestashop_python-0.1.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb0abed06405aa4f2a9b50bfe2eafb9040e8ebf936951f9a8eafaab3dedf9053
|
|
BLAKE2b-256 checksum How to use checksums |
bdbc62929b076c1df382fb33bb940f8b9eab7d9fbd7f547dee713628a99fc0ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / prestashop_python-0.1.4-py3-none-any.whl
| Download URL | prestashop_python-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efb783783c1726fbcdca2edbc6893efb0492318b82900b817255636d43165fc4
|
|
BLAKE2b-256 checksum How to use checksums |
fe6c3446c67d39c038eb027aa23c0040e447c38faa7f2f0c215fe068e06a5376
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for prestashop-python 0.1.4
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.