1.0.14 • Published 7 years ago

plasma-products-api-client-js v1.0.14

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Products

Kind: global class

new Products()

Products API JS client.

In order to use Products API you should create an instance of this class.

import Products from "tm-products-api-client-js";
const products = new Products ('http://api.templatemonster.com/products/v1', 'en');
const list = products.getProducts ([12345, 55555]);

products.getProducts(ids) ⇒ *

Return product information for given identifiers.

Kind: instance method of Products

ParamTypeDescription
idsArray.<int>Product identifiers