| Name | prestashop-webservice JSON |
| Version |
0.1.2
JSON |
| download |
| home_page | None |
| Summary | Webservice client for PrestaShop API |
| upload_time | 2025-11-13 16:29:43 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.12 |
| license | MIT License
Copyright (c) 2025 Patitas and Co
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.
|
| keywords |
prestashop
api
client
webservice
rest
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# PrestaShop Webservice
Python client for PrestaShop API with caching, logging, and type hints.
## Installation
```bash
pip install prestashop-webservice
```
## Quick Start
```python
from prestashop_webservice import Client, Params, Sort, SortOrder
# Initialize client
client = Client(
prestashop_base_url="https://your-store.com/api",
prestashop_ws_key="YOUR_API_KEY"
)
# Simple queries
order = client.query_order(order_id="123")
customer = client.query_customer(customer_id="456")
# Advanced queries with parameters
params = Params(
filter={"id_customer": "123"},
sort=Sort(field="date_add", order=SortOrder.DESC),
display=["id", "total_paid", "reference"],
limit=10
)
orders = client.query_orders(params=params)
```
## Features
- 🚀 HTTP client with connection pooling
- 💾 Automatic caching (24h TTL)
- 📝 Logging with Loguru
- 🎯 Full type hints
- 🔒 Singleton pattern
## Available Methods
- `query_order()`, `query_orders()`, `exists_order()`
- `query_customer()`, `query_customers()`
- `query_product()`, `query_address()`, `query_country()`
- `query_order_carriers()`, `query_order_histories()`, `query_order_state()`
## License
MIT License - See [LICENSE](LICENSE) file for details.
Raw data
{
"_id": null,
"home_page": null,
"name": "prestashop-webservice",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.12",
"maintainer_email": null,
"keywords": "prestashop, api, client, webservice, rest",
"author": null,
"author_email": "Nestor Villa <nestorvilla@patitasco.com>, Manolo Corte <manolocorte@patitasco.com>",
"download_url": "https://files.pythonhosted.org/packages/bd/7e/083237895d3dbdf17230bd4d8132c5e8d022fc46247f5183ee79160dcebd/prestashop_webservice-0.1.2.tar.gz",
"platform": null,
"description": "# PrestaShop Webservice\n\nPython client for PrestaShop API with caching, logging, and type hints.\n\n## Installation\n\n```bash\npip install prestashop-webservice\n```\n\n## Quick Start\n\n```python\nfrom prestashop_webservice import Client, Params, Sort, SortOrder\n\n# Initialize client\nclient = Client(\n prestashop_base_url=\"https://your-store.com/api\",\n prestashop_ws_key=\"YOUR_API_KEY\"\n)\n\n# Simple queries\norder = client.query_order(order_id=\"123\")\ncustomer = client.query_customer(customer_id=\"456\")\n\n# Advanced queries with parameters\nparams = Params(\n filter={\"id_customer\": \"123\"},\n sort=Sort(field=\"date_add\", order=SortOrder.DESC),\n display=[\"id\", \"total_paid\", \"reference\"],\n limit=10\n)\norders = client.query_orders(params=params)\n```\n\n## Features\n\n- \ud83d\ude80 HTTP client with connection pooling\n- \ud83d\udcbe Automatic caching (24h TTL)\n- \ud83d\udcdd Logging with Loguru\n- \ud83c\udfaf Full type hints\n- \ud83d\udd12 Singleton pattern\n\n## Available Methods\n\n- `query_order()`, `query_orders()`, `exists_order()`\n- `query_customer()`, `query_customers()`\n- `query_product()`, `query_address()`, `query_country()`\n- `query_order_carriers()`, `query_order_histories()`, `query_order_state()`\n\n## License\n\nMIT License - See [LICENSE](LICENSE) file for details.\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright (c) 2025 Patitas and Co\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in all\n copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n SOFTWARE.\n ",
"summary": "Webservice client for PrestaShop API",
"version": "0.1.2",
"project_urls": {
"Documentation": "https://github.com/patitas-and-co/prestashop-webservice/blob/main/README.md",
"Repository": "https://github.com/patitas-and-co/prestashop-webservice"
},
"split_keywords": [
"prestashop",
" api",
" client",
" webservice",
" rest"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "219969883d2cb4c0bcace4c27873fae75820e495b5190e4dc2e02e859cab29e8",
"md5": "b49ca0d827fd0634158181ffe369d104",
"sha256": "1c0a54eee6656883c75502a7f357c88b4dd6ab2a845db5a0c773ac7ec830ddcc"
},
"downloads": -1,
"filename": "prestashop_webservice-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b49ca0d827fd0634158181ffe369d104",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.12",
"size": 6979,
"upload_time": "2025-11-13T16:29:42",
"upload_time_iso_8601": "2025-11-13T16:29:42.157828Z",
"url": "https://files.pythonhosted.org/packages/21/99/69883d2cb4c0bcace4c27873fae75820e495b5190e4dc2e02e859cab29e8/prestashop_webservice-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "bd7e083237895d3dbdf17230bd4d8132c5e8d022fc46247f5183ee79160dcebd",
"md5": "1f766d0ea8e9e6eedb9a1230dd56c519",
"sha256": "b2ac579dd553955ff777d3d57d48a7ab522b3a7f2a6325d4cb96a480acf37cc8"
},
"downloads": -1,
"filename": "prestashop_webservice-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "1f766d0ea8e9e6eedb9a1230dd56c519",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.12",
"size": 12155,
"upload_time": "2025-11-13T16:29:43",
"upload_time_iso_8601": "2025-11-13T16:29:43.197179Z",
"url": "https://files.pythonhosted.org/packages/bd/7e/083237895d3dbdf17230bd4d8132c5e8d022fc46247f5183ee79160dcebd/prestashop_webservice-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-11-13 16:29:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "patitas-and-co",
"github_project": "prestashop-webservice",
"github_not_found": true,
"lcname": "prestashop-webservice"
}