JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 46
  • Score
    100M100P100Q79357F
  • License MIT

Node.JS library to communicate with the Icecat API

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

Version License

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/

License

MIT License