mytracker/s2s-api
最新稳定版本:2.4.0
Composer 安装命令:
composer require mytracker/s2s-api
包简介
tracker.my.com s2s api
README 文档
README
This library provides tracker.my.com S2S api functionality.
Documentation
You can read api documentation here - https://tracker.my.com/docs/api/about
Examples
For quick start you can see some examples in Example class:
<?php declare(strict_types=1); // Check s2s api accessible without any credentials: $v = Mycom\Tracker\S2S\Api\Example::getActualVersion(); echo $v, PHP_EOL; // Check your account token: $yourAppId = 1; $yourAccountToken = ''; $responseCode = Mycom\Tracker\S2S\Api\Example::testAppAccess($yourAppId, $yourAccountToken); echo $responseCode, PHP_EOL; // See how you can send events inside this methods: Mycom\Tracker\S2S\Api\Example::sendRegistrationEvent($yourAppId, $yourAccountToken); Mycom\Tracker\S2S\Api\Example::sendLoginEvent($yourAppId, $yourAccountToken); Mycom\Tracker\S2S\Api\Example::sendCustomEvent($yourAppId, $yourAccountToken); Mycom\Tracker\S2S\Api\Example::sendCustomRevenue($yourAppId, $yourAccountToken);
统计信息
- 总下载量: 1.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-02-04