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 hightouch
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={
"deserunt": "porro",
"nulla": "id",
"vero": "perspiciatis",
},
name="nulla",
slug="nihil",
type="fuga",
)
res = s.create_destination(req, operations.CreateDestinationSecurity(
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
))
if res.create_destination_200_application_json_any_of is not None:
# handle response
SDK Available Operations
Hightouch SDK
create_destination
- Create Destinationcreate_model
- Create Modelcreate_source
- Create Sourcecreate_sync
- Create Syncget_destination
- Get Destinationget_model
- Get Modelget_source
- Get Sourceget_sync
- Get Synclist_destination
- List Destinationslist_model
- List Modelslist_source
- List Sourceslist_sync
- List Syncslist_sync_runs
- List Sync Runstrigger_run
- Trigger Synctrigger_run_custom
- Trigger Sync From ID or Slugupdate_destination
- Update Destinationupdate_model
- Update Modelupdate_source
- Update Sourceupdate_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.11.0.tar.gz
(20.1 kB
view hashes)
Built Distribution
hightouch-1.11.0-py3-none-any.whl
(42.0 kB
view hashes)
Close
Hashes for hightouch-1.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 994d940b3a41abea09ca092c1a340992881c8015351553f743e166b5f30e5f60 |
|
MD5 | 7e7e29107ba0a6496f7a6a421699691d |
|
BLAKE2b-256 | fc5629850808e9779e618e48b5515f33c0cb8b3a4f9a09c2476e318b8eff5252 |