API endpoint:
https://analytics.qushad.com/api/v1/stats/{id}
Request example:
curl --location --request GET 'https://analytics.qushad.com/api/v1/stats/{id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
name
browser
, campaign
, city
, continent
, country
, device
, event
, landing_page
, language
, os
, page
, pageviews
, pageviews_hours
, referrer
, resolution
, visitors
, visitors_hours
.from
Y-m-d
format.to
Y-m-d
format.search
search_by
value
for Value. Defaults to: url
.sort_by
count
for Count, value
for Value. Defaults to: count
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.