API 端点:
https://yzl.cc/api/v1/stats/{website_id}
请求示例:
curl --location --request GET 'https://yzl.cc/api/v1/stats/{website_id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
namebrowser, campaign, city, continent, country, device, event, language, operating_system, page, pageview, referrer, screen_resolution, visitor。fromY-m-d。toY-m-d。searchsearch_byvalue (针对 值)。sort_bycount (针对 Count), value (针对 值)。 默认值为:count。sortdesc (针对 降序), asc (针对 升序)。 默认值为:desc。per_page10, 25, 50, 100。 默认值为:25。