postal_mail/discovery.py

hubspot-api-python · hubspot/discovery/crm/objects/postal_mail/discovery.py · python · Apache-2.0
crm, CRM / Leads

Discovery wrapper exposing HubSpot postal mail API clients for basic, batch, and search operations.

# Source: https://github.com/HubSpot/hubspot-api-python | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
import hubspot.crm.objects.postal_mail as api_client
from ....discovery_base import DiscoveryBase


class Discovery(DiscoveryBase):
    @property
    def basic_api(self) -> api_client.BasicApi:
        return self._configure_api_client(api_client, "BasicApi")

    @property
    def batch_api(self) -> api_client.BatchApi:
        return self._configure_api_client(api_client, "BatchApi")

    @property
    def search_api(self) -> api_client.SearchApi:
        return self._configure_api_client(api_client, "SearchApi")

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key