Statistiche

Notes
Abbonamento Enterprise
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
Show

API endpoint:

GET
https://codego.it/api/v1/stats/{id}

Request example:

curl --location --request GET 'https://codego.it/api/v1/stats/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Tipo
Descrizione
from
required string
The starting date in Y-m-d format.
to
required string
The ending date in Y-m-d format.
name
required string
The name of the statistic. Possible values are: browser, cities, clicks, clicks_hours, country, device, language, platform, referrer.
search
optional string
The search query.
sort
optional string
Sort. Possible values are: max for Migliore performace, min for MEno performante. Defaults to: max.
per_page
optional int
Risultati per pagina. Possible values are: 10 to 100. Defaults to: 10.