Store
curl --request GET \
--url https://api.tic.io/statistics/se/ica/stores/{ica_storeId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/statistics/se/ica/stores/{ica_storeId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tic.io/statistics/se/ica/stores/{ica_storeId}', 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.tic.io/statistics/se/ica/stores/{ica_storeId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.tic.io/statistics/se/ica/stores/{ica_storeId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.tic.io/statistics/se/ica/stores/{ica_storeId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/statistics/se/ica/stores/{ica_storeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"storeName": "<string>",
"slug": "<string>",
"ogDescription": "<string>",
"ogTitle": "<string>",
"ogImage": "<string>",
"otherStoreNames": {},
"address": "<string>",
"storeFormat": "<string>",
"latitude": 123,
"longitude": 123,
"rating": 123,
"notes": [
{
"period": 123,
"date": "2023-11-07T05:31:56Z",
"notes": "<string>"
}
],
"periods": [
{
"period": 123,
"shortDescription": "<string>",
"periodLength": "<string>",
"highlight": true,
"highlightLabel": "<string>"
}
],
"revenue": [
123
],
"grossMargins": [
123
],
"operatingMargin": [
123
],
"profitMargin": [
123
],
"numberOfEmployees": [
123
],
"dividends": [
123
],
"extraDividends": [
123
],
"netProfitOrLoss": [
123
],
"balancedResultAfterDividend": [
123
],
"costs": [
{
"label": "<string>",
"amount": [
123
]
}
]
}Sweden - ICA
Store
Get condensed statistics for the store
GET
/
statistics
/
se
/
ica
/
stores
/
{ica_storeId}
Store
curl --request GET \
--url https://api.tic.io/statistics/se/ica/stores/{ica_storeId} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.tic.io/statistics/se/ica/stores/{ica_storeId}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.tic.io/statistics/se/ica/stores/{ica_storeId}', 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.tic.io/statistics/se/ica/stores/{ica_storeId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.tic.io/statistics/se/ica/stores/{ica_storeId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.tic.io/statistics/se/ica/stores/{ica_storeId}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tic.io/statistics/se/ica/stores/{ica_storeId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"storeName": "<string>",
"slug": "<string>",
"ogDescription": "<string>",
"ogTitle": "<string>",
"ogImage": "<string>",
"otherStoreNames": {},
"address": "<string>",
"storeFormat": "<string>",
"latitude": 123,
"longitude": 123,
"rating": 123,
"notes": [
{
"period": 123,
"date": "2023-11-07T05:31:56Z",
"notes": "<string>"
}
],
"periods": [
{
"period": 123,
"shortDescription": "<string>",
"periodLength": "<string>",
"highlight": true,
"highlightLabel": "<string>"
}
],
"revenue": [
123
],
"grossMargins": [
123
],
"operatingMargin": [
123
],
"profitMargin": [
123
],
"numberOfEmployees": [
123
],
"dividends": [
123
],
"extraDividends": [
123
],
"netProfitOrLoss": [
123
],
"balancedResultAfterDividend": [
123
],
"costs": [
{
"label": "<string>",
"amount": [
123
]
}
]
}Authorizations
Path Parameters
The ICA store id
Response
OK
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I