仅供内部测试使用

统计

备注
专家级别
API密钥应该作为请求的Authorization标头中的Bearer令牌发送 获取你的API密钥.
显示

API端点:

GET
https://go.f27.net/api/v1/stats/{id}

请求示例:

curl --location --request GET 'https://go.f27.net/api/v1/stats/{id}?name={name}&from={from}&to={to}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
参数
类型
描述
name
必需的 string
统计信息名称 可能的值为:browser, cities, clicks, clicks_hours, country, device, language, platform, referrer
from
必需的 string
开始日期,格式为:Y-m-d
to
必需的 string
结束日期,格式为:Y-m-d
search
可选的 string
搜索查询
search_by
可选的 string
搜索方式. 可能的值为:value 默认值为:url
sort_by
可选的 string
排序方式. 可能的值为:Countcount, value 默认值为:count
sort
可选的 string
排序. 可能的值为:降序desc, 升序asc 默认值为:desc
per_page
可选的 int
每页结果数. 可能的值为:10, 25, 50, 100 默认值为:10