Skip to main content

Python SDK for Hightouch API

Project description

Python SDK

Hightouch exposes a REST API that lets users interact with resources like syncs, models, sources and destinations.

SDK Installation

pip install git+<UNSET>.git

Authentication

  • Create an API key
  • From the API keys tab on the Settings page, select Add API key.
  • Enter a descriptive Name for your key.
  • Copy your API key and store it in a safe location. The key will only be displayed once.
  • Click Create API key.

SDK Example Usage

import hightouch
from hightouch.models import operations, shared

s = hightouch.Hightouch()

req = shared.DestinationCreate(
    configuration={
        "provident": 'distinctio',
        "quibusdam": 'unde',
        "nulla": 'corrupti',
    },
    name='Ben Mueller',
    slug='iure',
    type='magnam',
)

res = s.create_destination(req, operations.CreateDestinationSecurity(
    bearer_auth="YOUR_BEARER_TOKEN_HERE",
))

if res.create_destination_200_application_json_any_of is not None:
    # handle response

Available Resources and Operations

Hightouch SDK

SDK Generated by Speakeasy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hightouch-1.31.0.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

hightouch-1.31.0-py3-none-any.whl (49.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page