marwinupstreamtech/hubspot-object-collections

1.0.1 2024-02-12 02:57 UTC

This package is auto-updated.

Last update: 2024-05-12 06:08:38 UTC


README

A Laravel package can help to collect the HubSpot CRM objects properties.

Inspiration

Here are a few examples of well-documented code:

Usage & formatting

Using an OAUTH

$hubSpotObjectCollection = new HubSpotObjectCollection($api_token);

Using the Private Application

Set the API token to your .env file 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