Feeds
Public catalog feed (XML)
XML form of the public catalog feed. See the JSON variant for the opt-in and token rules. No API key required.
GET
/
v1
/
feeds
/
{store}
/
products.xml
Public catalog feed (XML)
curl --request GET \
--url https://api.tybritelabs.com/v1/feeds/{store}/products.xmlimport requests
url = "https://api.tybritelabs.com/v1/feeds/{store}/products.xml"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.tybritelabs.com/v1/feeds/{store}/products.xml', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tybritelabs.com/v1/feeds/{store}/products.xml",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tybritelabs.com/v1/feeds/{store}/products.xml"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tybritelabs.com/v1/feeds/{store}/products.xml")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tybritelabs.com/v1/feeds/{store}/products.xml")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
<sku>ELEC-ACTIONCAM-01-de4a</sku>
<name>4K Action Camera</name>
<description>Waterproof 4K action camera with image stabilization and dual screens.</description>
<category>Cameras & Photography</category>
<brand>Pulsewave</brand>
<image>https://images.unsplash.com/photo-1526170375885-4d8ecf77b99f?w=400</image>
<price>149</price>
<sale_price>129</sale_price>
<stock>148</stock>
<seo_title>4K Action Camera Waterproof Image Stabilization</seo_title>
<seo_keywords>
<item>4k action camera</item>
<item>waterproof camera</item>
</seo_keywords>
</product>
</products>⌘I
Public catalog feed (XML)
curl --request GET \
--url https://api.tybritelabs.com/v1/feeds/{store}/products.xmlimport requests
url = "https://api.tybritelabs.com/v1/feeds/{store}/products.xml"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.tybritelabs.com/v1/feeds/{store}/products.xml', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tybritelabs.com/v1/feeds/{store}/products.xml",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tybritelabs.com/v1/feeds/{store}/products.xml"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tybritelabs.com/v1/feeds/{store}/products.xml")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tybritelabs.com/v1/feeds/{store}/products.xml")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
<sku>ELEC-ACTIONCAM-01-de4a</sku>
<name>4K Action Camera</name>
<description>Waterproof 4K action camera with image stabilization and dual screens.</description>
<category>Cameras & Photography</category>
<brand>Pulsewave</brand>
<image>https://images.unsplash.com/photo-1526170375885-4d8ecf77b99f?w=400</image>
<price>149</price>
<sale_price>129</sale_price>
<stock>148</stock>
<seo_title>4K Action Camera Waterproof Image Stabilization</seo_title>
<seo_keywords>
<item>4k action camera</item>
<item>waterproof camera</item>
</seo_keywords>
</product>
</products>
