All Projects → GreenCore → icecat

GreenCore / icecat

Licence: MIT license
Icecat API - Find product description with EAN, UPC or GTIN-13

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to icecat

gtin
GTIN / EAN / UPC Validation for Laravel
Stars: ✭ 27 (+3.85%)
Mutual labels:  upc, ean
checkdigit
🔒 An easy-to-use check digit library for data validation
Stars: ✭ 19 (-26.92%)
Mutual labels:  upc, ean
significa.co
Significa - A digital design-led agency focused on product development.
Stars: ✭ 72 (+176.92%)
Mutual labels:  product
homebridge-eosstb
A homebridge plugin for the EOS set-top box as used by Sunrise, Telenet, Ziggo, Magenta, Virgin Media and maybe more in various countries on the Horizon Go (HGO) platform
Stars: ✭ 25 (-3.85%)
Mutual labels:  upc
DOKS
Managed Kubernetes designed for simple and cost effective container orchestration.
Stars: ✭ 80 (+207.69%)
Mutual labels:  product
fedramp-tailored
FedRAMP Tailored.
Stars: ✭ 40 (+53.85%)
Mutual labels:  information
Management
Management Endpoints used to allow insight into your applications
Stars: ✭ 31 (+19.23%)
Mutual labels:  information
Vue Product Zoomer
Zoom Prodct Image, useful for e-shop website
Stars: ✭ 248 (+853.85%)
Mutual labels:  product
yafetch
Yet another fetch ...
Stars: ✭ 27 (+3.85%)
Mutual labels:  information
Hardware.Info
Battery, BIOS, CPU - processor, storage drive, keyboard, RAM - memory, monitor, motherboard, mouse, NIC - network adapter, printer, sound card - audio card, graphics card - video card. Hardware.Info is a .NET Standard 2.0 library and uses WMI on Windows, /dev, /proc, /sys on Linux and sysctl, system_profiler on macOS.
Stars: ✭ 238 (+815.38%)
Mutual labels:  information
DevBrute-A Password Brute Forcer
DevBrute is a Password Brute Forcer, It can Brute Force almost all Social Media Accounts or Any Web Application.
Stars: ✭ 91 (+250%)
Mutual labels:  information
patzilla
PatZilla is a modular patent information research platform and data integration toolkit with a modern user interface and access to multiple data sources.
Stars: ✭ 71 (+173.08%)
Mutual labels:  information
Aliens eye
Social media hunter
Stars: ✭ 105 (+303.85%)
Mutual labels:  information
fast-cartesian
Fast cartesian product
Stars: ✭ 51 (+96.15%)
Mutual labels:  product
rubyshops
An address book of French Companies using Ruby
Stars: ✭ 95 (+265.38%)
Mutual labels:  product
UserFinder
OSINT tool for finding profiles by username
Stars: ✭ 379 (+1357.69%)
Mutual labels:  information
Todokit
TodoKit - A beautiful bug and issue tracking software.
Stars: ✭ 253 (+873.08%)
Mutual labels:  product
vue-product-spinner
🚗 A 3D product spinner for Vue.js with no dependencies
Stars: ✭ 94 (+261.54%)
Mutual labels:  product
kratix
Kratix is a framework for building Platform-as-a-Product
Stars: ✭ 175 (+573.08%)
Mutual labels:  product
fuse-device
Use the basic Device functions such as UUID and current localization from Fuse
Stars: ✭ 13 (-50%)
Mutual labels:  information

Icecat API

Version License Build Status Known Vulnerabilities

With this package you can read the worldwide product information data from Icecat. This product information comes from editors like participating manufacturers. You can use this package for webshops, comparison websites, online shopping directories or enterprise resource planning systems.

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');

const icecatClient = new icecat('username', 'password');

// Language: en, GTIN: 4948570114344 (GTIN: EAN, UPC or GTIN-13/JAN)
icecatClient.openCatalog
  .getProduct('EN', '4948570114344')
  .then(function(product) {
    console.log('Description: ' + product.getLongDescription());

    const productImages = product.getImages();

    console.log('Product images:');
    for (let i in productImages) {
      console.log(productImages[i].ThumbImg);
    }
  })
  .catch(function(reason) {
    console.error('Error or timeout', reason);
  });

Demo: https://runkit.com/greencore/icecat-demo

openCatalog

getProduct(Language, GTIN)

Arguments:

Returns: productObject

getProductById(Language, ProductId)

Arguments:

Returns: productObject

getProductBySKU(Language, Brand, SKU)

Arguments:

Returns: productObject

getProductByXMLdata (xmldata)

Arguments:

  • xmlData: XML data from an Icecat XML file or XML web service

Returns: productObject

productObject

getReturnCode

  • returnCode.FAIL (-1)
  • returnCode.SUCCESS (1)

getErrorMessage
returns ErrorMessage {string}
Example: The requested XML data-sheet is not present in the Icecat database.

getName
returns Product Name {string}
Example: X4071UHSU-B1

getTitle
returns Product Title {string}
Example: iiyama X4071UHSU-B1 39.5" LED 4K Ultra HD Black public display

getReleaseDate
returns Product Release Date YYYY-MM-DD {string}
Example: 2015-10-04

getLongDescription
returns {string}

getShortDescription
returns {string}

getProductInfoPDFurl
returns {string}
Example: http://pdfs.icecat.biz/pdf/48068167-5427.pdf

getProductManualPDFurl
returns {string}

getProductUrl
returns {string}

getSupplier
returns {string}
Example: iiyama

getCategory
returns {string}
Example: public displays

getFamily
returns {object}
Example: {"id":"30340","name":"ProLite"}

getId
Get the Icecat product ID
returns {string}
Example: 29900045

getEan
Get the first EAN from the productXML
returns {string}
Example: 4948570114344

getImages
returns {array}
Example:

[
  {
    IsMain: 'Y',
    HighImg: 'http://images.icecat.biz/img/gallery/29900045_1198.jpg',
    LowImg: 'http://images.icecat.biz/img/gallery_lows/29900045_1198.jpg',
    ThumbImg: 'http://images.icecat.biz/img/gallery_thumbs/29900045_1198.jpg'
  },
  {
    IsMain: undefined,
    HighImg: 'http://images.icecat.biz/img/gallery/29900045_3889.jpg',
    LowImg: 'http://images.icecat.biz/img/gallery_lows/29900045_3889.jpg',
    ThumbImg: 'http://images.icecat.biz/img/gallery_thumbs/29900045_3889.jpg'
  },
  {
    IsMain: undefined,
    HighImg: 'http://images.icecat.biz/img/gallery/29900045_6765.jpg',
    LowImg: 'http://images.icecat.biz/img/gallery_lows/29900045_6765.jpg',
    ThumbImg: 'http://images.icecat.biz/img/gallery_thumbs/29900045_6765.jpg'
  }
];

getSpecifications
returns {array}

getMultimediaObjects
returns {Array}

getCategoryFeatureGroups
returns {Array}
Example:

[
  { id: '10074', name: 'Display' },
  { id: '10080', name: 'Audio' },
  { id: '10083', name: 'Ports & interfaces' },
  { id: '10073', name: 'Weight & dimensions' },
  { id: '10081', name: 'Power' },
  { id: '10084', name: 'Operational conditions' },
  { id: '10871', name: 'Technical details' },
  { id: '10078', name: 'Packaging data' },
  { id: '10101', name: 'Other features' },
  { id: '10869', name: 'Design' },
  { id: '10870', name: 'Performance' },
  { id: '16263', name: 'Computer system' }
];

About Icecat

Icecat Url
services https://icecat.biz/menu/services/index.html
product info https://icecat.biz/

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].