atellitech/gtm-sdk-php
最新稳定版本:1.0.1
Composer 安装命令:
composer require atellitech/gtm-sdk-php
包简介
README 文档
README
Installation
You can use Composer or simply Download the Release
Composer
The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
composer require backend/gtm-sdk
Finally, be sure to include the autoloader:
require_once '/path/to/your-project/vendor/autoload.php';
Usage
$clientService = new Client();
$clientService->setClientId('{client-id}']);
$clientService->setClientSecret('{client-secret}']);
$clientService->setDeveloperKey('{developer-token}']);
$clientService->setScopes('{scopes}']);
$clientService->setRefreshToken('{token}');
$client = $clientService->generate();
$accountId = '{account_id}';
$accountData = (new Accounts($client))->get($accountId);
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-08-12