Icecat Live API Supports Multilingual Calls for Digital Assets

Avatar for Anton Bondarenko
By
release notes

The Icecat Live API supports now multilingual calls to retrieve digital assets related to multiple locales. This client requirement followed from the transfer of former Autheos clients to our (free) Icecat Live service. Icecat Live enables merchants to insert real-time product content from hundreds of major brands or manufacturers in any app. Just with a few lines of JavaScript in an HTML template. This can be any digital asset. In the case of former Autheos users, we focused on videos.

Below, an explanation of how to implement multilingual calls with Icecat Live.

LIVE API multilingual calls format

In case a user wants to retrieve a video for a product in one preferred language, but this is not available in this language, a user might still retrieve it with a backup language. To implement this logic a user just needs to pass the list of language codes as an array. For example, [‘en’, ‘fr’] where UK English (en) is the preferred language and France French (fr) is the backup language.

It is possible to add up to 5 languages into the array. Please, find below the full example of how Icecat Live API supports multilingual calls:

<html>
    <head></head>
<body>
 
<div id="Container"></div>
 
<script>
    window.addEventListener('liveload', function() {
        IcecatLive.getDatasheet('#Container', {
            Brand: 'Philips',
            PartCode: 'DS8900/10',
            UserName: 'openicecat-live'
        }, ['en', 'fr'])              
    });
</script>
 
<script src="http://live.icecat.biz/js/live-current.js" async></script>
</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *

Icecat xml

Open Catalog Interface (OCI): Manual for Open Icecat XML and Full Icecat XML

This document describes the Icecat XML method of Icecat's Open Catalog Inte...
 November 3, 2019
Manual

Manual for Icecat Live: Real-Time Product Data in Your App

Icecat Live is a (free) service that enables you to insert real-time produc...
 June 10, 2022
Manual for Icecat CSV Interface

Manual for Icecat CSV Interface

This document describes the manual for Icecat CSV interface (Comma-Separate...
 September 28, 2016
 October 4, 2018
LIVE JS

How to Create a Button that Opens Video in a Modal Window

Recently, our Icecat Live JavaScript interface was updated with two new fun...
 November 3, 2021
Addons plugins

Icecat Add-Ons Overview. NEW: Red Technology

Icecat has a huge list of integration partners, making it easy for clients ...
 October 27, 2023
Manual

Manual for Open Icecat JSON Product Requests

JSON (JavaScript Object Notation) is an increasingly popular means of trans...
 September 17, 2018
 January 20, 2020
New Standard video thumbnail

Autheos video acquisition completed

July 21, Icecat and Autheos jointly a...
 September 7, 2021
Manual

Manual Personalized Interface File and Catalog from Icecat

With Icecat, you can generate personalized or customized CSV or Excel files...
 May 3, 2022