marwinupstreamtech/hubspot-object-collections

1.0.1 2024-02-12 02:57 UTC

This package is auto-updated.

Last update: 2024-09-12 06:52:13 UTC


README

一个 Laravel 包可以帮助收集 HubSpot CRM 对象属性。

灵感

以下是一些示例,展示了良好的代码文档

使用方法与格式化

使用 OAUTH

$hubSpotObjectCollection = new HubSpotObjectCollection($api_token);

使用私有应用

将 API 令牌设置到您的 .env 文件中的 HUBSPOT_PRIVATE_APP_API_TOKEN

$hubSpotObjectCollection = new HubSpotObjectCollection();

Project Name: HubSpot Object Collection
Description: To collect the HubSpot CRM objects[companies, contacts, deals, feedback_submissions, line_items, products, quotes, discounts, fees, taxes, tickets, goals] and return only the properties.

### Dependencies
- php ^8.1
- Guzzle ^7.4

## Demo
/**
 * The private API key set in the .env file
 */
$sourceSdk = new HubSpotObjectCollection();
$contacts = $sourceSdk->getCollection('contacts', ['hs_object_id', 'email']);

## Organization

* Upstreamtech/JackTaylorGroup