News

Icecat Live API Supports Multilingual Calls for Digital Assets

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>
Anton Bondarenko

Recent Posts

Icecat Toys Team to Attend Distoy London 2024

Icecat is happy to announce its participation in the upcoming Distoy London 2024 edition. The…

1 day ago

Rood met Witte Stippen Video and Written Reviews now Available in Icecat Enhanced Product Stories

Rood met Witte Stippen, a social media channel that plays, tests, reviews games, and creates…

2 days ago

Q1-2024 Icecat: 11% growth

The revenues of Icecat N.V. (ISIN: NL0012751226) have increased by 11% over the first three…

3 days ago

Wakuli Raises 5.2 Million Euros with Icecat Capital as New Investor

Specialty coffee company Wakuli has raised EUR 5.2 million in a Series A round. The…

4 days ago

Iceshop 2024.3 and 2024.4 Sprint Reports

During the March and April sprints, our primary emphasis was on advancing our ongoing project:…

1 week ago

Icecat Release Notes 195: Streamlining Processes and Empowering Users

In Icecat Release Notes 195, we're thrilled to introduce a range of enhancements designed to…

1 week ago