欢迎使用abS短域系统,三秒记住本站域名 abab.cab 阿巴阿巴 草 阿巴

统计

记录
专家级
API 密钥应作为承载令牌在请求的授权标头中发送 获取你的API密钥.
展示

API:

GET
https://abab.cab/api/v1/stats/{id}

请求示例:

curl --location --request GET 'https://abab.cab/api/v1/stats/{id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
参数
类型
描述
name
必要 string
The name of the statistic. 可能为: browser, cities, clicks, clicks_hours, country, device, language, platform, referrer.
from
必要 string
The starting date in Y-m-d format.
to
必要 string
The ending date in Y-m-d format.
search
可选 string
搜索查询
search_by
可选 string
搜索于. 可能为: value for . 默认为: url.
sort_by
可选 string
Sort by. 可能为: count for Count, value for . 默认为: count.
sort
可选 string
排序. 可能为: desc for 下降, asc for 上升. 默认为: desc.
per_page
可选 int
每页结果. 可能为: 10, 25, 50, 100. 默认为: 10.