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
- create_destination - Create Destination
- create_model - Create Model
- create_source - Create Source
- create_sync - Create Sync
- get_destination - Get Destination
- get_model - Get Model
- get_source - Get Source
- get_sync - Get Sync
- list_destination - List Destinations
- list_model - List Models
- list_source - List Sources
- list_sync - List Syncs
- list_sync_runs - List Sync Runs
- trigger_run - Trigger Sync
- trigger_run_custom - Trigger Sync From ID or Slug
- update_destination - Update Destination
- update_model - Update Model
- update_source - Update Source
- update_sync - Update Sync
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 details)
Built Distribution
File details
Details for the file hightouch-1.31.0.tar.gz
.
File metadata
- Download URL: hightouch-1.31.0.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 712600167ed2cbdb1f6ff243f3268ea7f6bd77594556925d18efac2cc2a3664c |
|
MD5 | 8bdf23091451d2c300544c4b59daf128 |
|
BLAKE2b-256 | 3ab0eff977ec96d672f7e59b124e791afa3b24e929cff6965c0ee71afe91efa9 |
File details
Details for the file hightouch-1.31.0-py3-none-any.whl
.
File metadata
- Download URL: hightouch-1.31.0-py3-none-any.whl
- Upload date:
- Size: 49.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c980b216a85e56ecd3f2a3da6d201f8c64edb65fa43966fbb48184e9d40e046 |
|
MD5 | 478ed828c57410a2ad289711b61ce91b |
|
BLAKE2b-256 | 33e054ea005253bd346f64f655fff44278c4728531f7145262e585f93ddaff61 |