API接口:
http://yin.biz/api/v1/stats/{id}
请求示例:
curl --location --request GET 'http://yin.biz/api/v1/stats/{id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
name
browser
, cities
, clicks
, clicks_hours
, country
, device
, language
, platform
, referrer
from
Y-m-d
格式的起始日期.to
Y-m-d
格式的结束日期.search
search_by
value
默认为:url
.sort_by
count
, 值 value
默认为:count
.sort
desc
, 升序 asc
默认为:desc
.per_page
10
, 25
, 50
, 100
默认为:25
.