Package Exports
- icecat
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (icecat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Icecat API
Work In Progress
Getting started
1) Icecat account
To create a Icecat account, go to the Icecat registration page.
2) Installation
Install the Icecat Node.js package by running the following command within your project's root directory:
npm install icecat --save
3) Basic usage
const icecat = require('icecat');
Icecat = new icecat('username', 'password');
// Language: en, EAN: 4948570114344
Icecat.openCatalog.getProduct('en', '4948570114344').then(function (product) {
console.log('Contents: ' + product.getLongDescription());
}).catch(function (reason) {
console.error('Error or timeout', reason);
});
About Icecat
Icecat | Url |
---|---|
services | http://icecat.us/menu/services/index.html |
product info | http://icecat.us/ |