Regroupements
curl --request GET \
--url https://taap.it/api/v1/radar/breakdowns \
--header 'Authorization: <authorization>'import requests
url = "https://taap.it/api/v1/radar/breakdowns"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://taap.it/api/v1/radar/breakdowns', 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://taap.it/api/v1/radar/breakdowns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$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://taap.it/api/v1/radar/breakdowns"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://taap.it/api/v1/radar/breakdowns")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://taap.it/api/v1/radar/breakdowns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"pages.top": [
{}
],
"sources.referrer": [
{}
],
"locations.countries": [
{}
],
"devices.browsers": [
{}
],
"devices.os": [
{}
],
"events": [
{}
],
"hostnames": [
{}
]
}
}API Radar
Regroupements
Récupérer les principales pages, sources, localisations et appareils
GET
/
api
/
v1
/
radar
/
breakdowns
Regroupements
curl --request GET \
--url https://taap.it/api/v1/radar/breakdowns \
--header 'Authorization: <authorization>'import requests
url = "https://taap.it/api/v1/radar/breakdowns"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://taap.it/api/v1/radar/breakdowns', 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://taap.it/api/v1/radar/breakdowns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <authorization>"
],
]);
$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://taap.it/api/v1/radar/breakdowns"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://taap.it/api/v1/radar/breakdowns")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://taap.it/api/v1/radar/breakdowns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"pages.top": [
{}
],
"sources.referrer": [
{}
],
"locations.countries": [
{}
],
"devices.browsers": [
{}
],
"devices.os": [
{}
],
"events": [
{}
],
"hostnames": [
{}
]
}
}Renvoie les principaux regroupements (pages, sources, localisations et appareils) pour le projet
lié à votre clé API sur la plage de dates demandée.
Requête :
Réponse :
cURL
curl -X GET 'https://taap.it/api/v1/radar/breakdowns?start=2026-01-01T00:00:00Z&end=2026-01-31T23:59:59Z&limit=20' \
-H 'Authorization: Bearer taapit_votre_cle_api_ici'
{
"data": {
"pages": {
"top": [
{ "pathname": "/", "people": 320 },
{ "pathname": "/pricing", "people": 110 }
]
},
"sources": {
"referrer": [
{ "name": "Direct", "people": 210 },
{ "name": "Google", "people": 180 }
]
},
"locations": {
"countries": [
{ "name": "France", "people": 240, "countryCode": "FR", "revenue": 980.0 },
{ "name": "Belgium", "people": 90, "countryCode": "BE", "revenue": 120.0 }
]
},
"devices": {
"browsers": [
{ "name": "Chrome", "people": 410 },
{ "name": "Safari", "people": 220 }
],
"os": [
{ "name": "Windows", "people": 300 },
{ "name": "iOS", "people": 180 }
]
},
"events": [
{ "event_name": "signup_click", "people": 40, "events": 52, "completion_rate": 0 }
],
"hostnames": ["www.example.com"]
}
}
Autorisation
string
requis
Jeton Bearer avec votre clé API Radar. Format :
Bearer taapit_...Paramètres de requête
string
requis
Début de la plage, ISO 8601 (UTC). Exemple :
2026-01-01T00:00:00Z.string
requis
Fin de la plage, ISO 8601 (UTC). Exemple :
2026-01-31T23:59:59Z.integer
défaut:"50"
Nombre maximal de lignes par regroupement. Doit être un nombre positif. Vaut
50 par défaut.Champs de réponse
object
requis
Chaque section est optionnelle et omise lorsqu’il n’y a aucune donnée.
Masquer Regroupements
Masquer Regroupements
array
Principales pages, chacune avec
pathname et people.array
Principaux référents, chacun avec
name et people.array
Principaux pays, chacun avec
name, people, countryCode et revenue.array
Principaux navigateurs, chacun avec
name et people.array
Principaux systèmes d’exploitation, chacun avec
name et people.array
Principaux événements personnalisés, chacun avec
event_name, people et events.array
Noms d’hôtes observés pour le projet sur la plage.
⌘I