alexgenovese / prestashop-api-nodejs

Prestashop 1.7.x Node.js Rest client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NPM version NPM downloads NPM license Travis

This Node.js library enables JavaScript applications to communicate with Prestashop 1.7.x sites using their REST API.

Installation

The library can be installed using the Npm package manager:

npm i prestashop-api-nodejs --save

Usage

The code sample below shows the usage of the library:

var Prestashop = require('prestashop-api-nodejs');

var options = {
    url: 'prestashop.local',
    key: '<Prestashop Token>'
};

var client = new Prestashop(options);
    await client.get({
          resource: 'customers',
          output_format: 'JSON'
    })

About

Prestashop 1.7.x Node.js Rest client

License:MIT License


Languages

Language:JavaScript 100.0%