Point de terminaison de l'API:
https://analytics.suite-msc.fr/api/v1/stats/{id}
Exemple de demande:
curl --location --request GET 'https://analytics.suite-msc.fr/api/v1/stats/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
fromY-m-d.toY-m-d.namebrowser, campaign, city, continent, country, device, event, landing_page, language, os, page, pageviews, pageviews_hours, referrer, resolution, visitors, visitors_hours.searchsortmax pour Meilleure performance, min pour Plus mauvaise performance. Par défaut à: max.per_page10 à 100. Par défaut à: 10.