coderjerk/hubsnot
最新稳定版本:v0.2.1
Composer 安装命令:
composer require coderjerk/hubsnot
包简介
Hubspot API v3 Client
README 文档
README
PHP client for the Hubspot API v3
A very simple client because their own one looks unfinished and isn't really usable.
Just solving my own use case for now, which is simply to grab a list of available forms, more to come. Don't use in production unless this is all you want to do too.
$credentials = [ 'hubspot_access_token' => $_ENV['HUBSPOT_ACCESS_TOKEN'] ]; $hubsnot = new Hubsnot($credentials); $params = [ 'limit' => 200, ]; $forms = $hubsnot->forms()->getForms($params); foreach ($forms->results as $form) { echo nl2br($form->name . "\r\n"); echo nl2br($form->id . "\r\n"); }
统计信息
- 总下载量: 55
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-12