Installation
Installing Hookshot into your application is very straight forward. All you need is your Hookshot API token, which can be found on the Security page in your dashboard
We currently have clients for the following languages, however Hookshot can be accessed via REST API if we do not have a client for your language.
Python
pip install hookshothq
In your application:
import hookshot
hookshothq.api_key = os.getenv("HOOKSHOT_API_TOKEN")
# Create an Event
hookshot.Event.create(
event="order.created",
realm=current_context.user_id,
payload={
"id": "o_1234",
"value": "100000",
"item_count": 4,
"recurring": False,
}
)
Last updated
Was this helpful?