A simple prestashop api sdk for node
@bsight/smart-prestashop-api
``bash`
$ npm i smart-prestashop-api
- Communicate with prestashop webservice in javascript
`javascript
const PrestaShop = require("smart-prestashop-api");
const options = {
url: 'http://my-prestashop.com/',
token: '
};
const clients = new PrestaShop(options);
await clients.get({
resource: 'customers',
display: 'full',
limit: 15
}
);
`
- get Retrieves data from the resource passed in parameterpost
- Create data with a bodyput
- Modify data by entering a body and filtersdelete` Delete data by entering a body and filters like the put request
-