1.0.14 • Published 7 years ago
plasma-products-api-client-js v1.0.14
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
Param | Type | Description |
---|---|---|
ids | Array.<int> | Product identifiers |
1.0.14
7 years ago