API XML documentation

XML file and request parameters

Results in XML format

Templates categories and types

Galior® Market platform gives an opportunity to PROF account users to use XML feed or JavaScript widget for the import of the sales offers on the third-party services. This software is a method of attracting clients and customers to the https://galior-market.ru platform as part of Galior® Market affiliate program, or to export their applications on third party sites. Another usage of it for getting content will be prosecuted.

XML file address and request parameters

https://galior-market.ru/api/templates.xml

Request parameters can be sent by GET and POST methods

ParameterTypeDefaultValid valuesDescription
pass*
string  Personal API key.
(required parameters)
itemsinteger200500 maxMax items per request.
frominteger0 Start order number in request results. It’s convenient to use this parameter in the pagination implementation. For example, the filters shows you 12 000 results. XML shows first items results by default, i.e. 200 items. The next 200 results you can get by request: &from=200&items=200 and etc.
langstringRURU, EN, ESInput language.
currencystringRUBRUB, USD, EURCurrency of displayed prices.
catsstring Example: '265,216,277'Listing of categories ID.
All templates categories
typesstring Пример: '1,2,6,7,12'Listing of templates types ID.
All templates types
sellerstring  Seller’s login. Only this seller’s template will be selected.
price_frominteger  Start price
price_tointeger  Final price

* Parameter pass – personal API key. It is a required parameter. It is available to partners and any registered user in a personal account in Affiliate program section.

Request example:

https://galior-market.ru/api/templates.xml?pass=XXX&cats=319,216&currency=rub&price_to=10000

Results in XML format

<?xml version="1.0" encoding="UTF-8"?>
<templates count="21880" items="3">

<template>

<id>44338</id>
<date>2016-11-16 17:21:52</date>
<screenshot>https://galior-market.ru/images/board/medium/11-2016/a272bd03935352fbd5ccbdc7cb367e78.jpg</screenshot>
<thumbnail>https://galior-market.ru/images/board/small/11-2016/a272bd03935352fbd5ccbdc7cb367e78.jpg</thumbnail>
<title>PrestaShop шаблон для магазина электроники и бытовой техники, готовый интернет-магазин</title>
<product>PrestaShop шаблоны</product>
<category>Электроника, Интернет-магазины</category>
<price>9420</price>
<price_fix>12740</price_fix>
<price_exl>304980</price_exl>
<currency>RUB</currency>
<demo>https://galior-market.ru/board/demo44338</demo>
<link>https://galior-market.ru/board/read44338</link>

</template>

<template>

</template>

<template>

</template>

</templates>

count – the total number of templates found in database by specified parameters.
items – the number of templates in request results.
id  –  template ID.
date  –  publication date.
screenshot  –  template screenshot.
thumbnail  –  thumbnail template.
title  – title.
product  – product type name.
category  –  listing of templates categories.
price  –  normal sale price.
price_fix  –  price with installation. 0 – if a seller didn’t mention it.
price_exl  –  redemption price. 0 – if a seller did not mention it.
currency  – currency.
demo  –  direct link to demonstration page (live demo).
link  –  direct link to template page.

Server returns an answer in XML format in case of error occurred while authorization:

<?xml version="1.0" encoding="UTF-8"?>

<templates>

<error>ACCESS ERROR: WRONG PASSWORD</error>

</templates>

Template categories and types

The list of template categories and types ID is always available in fetched XML:

https://galior-market.ru/api/categories.xml?pass=XXX&lang=ru

<categories>

<category id="265">Автомобили</category>
<category id="245">Альтернативная энергия</category>
<category id="347">Аниме</category>
<category id="225">Антикварная тема</category>
<category id="275">Арт-шаблоны</category>
<category id="65">Архитектура</category>


</categories>

https://galior-market.ru/api/types.xml?pass=XXX&lang=ru

<types>

<type id="21">1С-Битрикс шаблоны</type>
<type id="50">Adobe Muse шаблоны</type>
<type id="25">AMIRO.CMS шаблоны</type>
<type id="32">CS-Cart шаблоны</type>
<type id="36">DLE шаблоны</type>
<type id="7">Drupal шаблоны</type>


</types>

Personal pass authorization code is required to get these XML. To display list in other languages use parameter lang.

If you have some questions about API or Widget work, contact us by e-mail at: 
support@galior-market.ru

You may publish your problems, feedbacks or ideas on Reformal:
https://galior-market.ru/help/reformal

Galior® Market widget

This is another convinient affiliate feature to attract customers using your affiliate link.

Read more...

 

We will inform you on appearance of a new template!
Just subscribe to new templates! Adjust the mail specifying the required type, category of the templates and receive notices on new entries of our site.
Subscribe