werbeagentur_artrevolver / scope-php-sdk
用于通过REST API实现Heyrecruit的PHP SDK。
2.1
2024-04-11 19:24 UTC
Requires
- php: ^7.4||^8.0
README
一个用于与Heyrecruit REST API通信的示例类。
目录
安装
可以使用 Composer 安装Heyrecruit PHP SDK。运行此命令
composer require werbeagentur_artrevolver/scope_php_sdk
或者
克隆仓库并将 HeyRestApi.php
文件包含到您的项目中。
require_once 'path/to/HeyRestApi.php';
使用
通过提供配置设置来初始化HeyRestApi类的新实例
$config = [ 'SCOPE_URL' => 'https://example.com', 'SCOPE_CLIENT_ID' => 'your-client-id', 'SCOPE_CLIENT_SECRET' => 'your-client-secret', 'GA_TRACKING' => true, // optional ]; $api = new HeyRestApi($config);