beyondcode/fathom-api
最新稳定版本:1.1.0
Composer 安装命令:
composer require beyondcode/fathom-api
包简介
Fathom Analytics API
关键字:
README 文档
README
This is an unofficial PHP SDK to get statistics out of Fathom Analytics, as long as it does not offer an official API.
Installation
You can install the package via composer:
composer require beyondcode/fathom-api
Usage
$analytics = new BeyondCode\FathomAnalytics($email, $password); $sites = $analytics->getSites(); $analytics->getCurrentVisitors($siteId); // Returns the visitor data for today $analytics->getData($siteId); // Returns the visitor data for the whole week until today $analytics->getData($siteId, Carbon::now()->startOfWeek()); // Returns the visitor data for two days ago until yesterday. $analytics->getData($siteId, Carbon::now()->subDays(2), Carbon::now()->subDays(1));
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 39
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-18