API端点:
https://yzl.cc/api/v1/stats/{id}
请求示例:
curl --location --request GET 'https://yzl.cc/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_hour
, referrer
, resolution
, visitors
, visitors_hour
from
Y-m-d
格式。to
Y-m-d
格式。search
search_by
value
for 值 默认为url
ssort_by
count
for Count, value
for 值 默认为count
ssort
desc
for 下降, asc
for 上升 默认为desc
sper_page
10
, 25
, 50
, 100
默认为25
s