prestashop_api is a library for Python 2 and 3 to interact with the PrestaShop's Web Service API.
Learn more about the PrestaShop Web Service from the Official Prestashop Documentation.
prestashop_api is a thin wrapper around the PrestaShop Web Service: it takes care of making the call to your PrestaShop instance's Web Service, supports the Web Service's HTTP-based CRUD operations (handling any errors) and then returns the result ready for you to work with in Python (via xmltodict)
The easiest way to install prestashop_api using pip:
pip install prestashop_api
If you do not have setuptools, clone repo from Source, unzip it and run:
python setup.py install
see example.py
Documentation for the PrestaShop Web Service can be found on the PrestaShop wiki: Using the REST webservice
Thanks to Prestashop SA for their PHP API Client PSWebServiceLibrary.php
Copyright 2016 Savas Koc
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.