Partner SDK

Reference libraries for Tapestry partner integration — launch, partner-switch, and signed callbacks. For the hour-one Flicker Fox walkthrough, see Developer Quickstart.

TypeScript

Install from the public npm registry (SPEC-041 pin 1.0.0):

npm install querytek-partner-sdk@1.0.0

Package: npmjs.com/package/querytek-partner-sdk (when published). License: proprietary (UNLICENSED) — for QueryTek partner integrators under your commercial agreement.

import { TapestryClient } from "querytek-partner-sdk";

const client = new TapestryClient("https://tapestry.querytek.io");
const decision = await client.launch({
  tenant_id: "tenant_primary",
  partner_key: "textmetrics",
  action_key: "launch",
  actor_role: "tenant_user",
  context_values: { requisition_id: "req-4482", locale: "en-US" },
});

Python

Install the wheel from the GitHub Release for tag partner-sdk-v1.0.0 (interim; not PyPI):

pip install querytek_partner_sdk-1.0.0-py3-none-any.whl

Release assets: GitHub Releases — partner-sdk-v1.0.0 (when published).

from tapestry_partner_sdk import TapestryClient

client = TapestryClient("https://tapestry.querytek.io")
decision = client.launch({
    "tenant_id": "tenant_primary",
    "partner_key": "textmetrics",
    "action_key": "launch",
    "actor_role": "tenant_user",
    "context_values": {"requisition_id": "req-4482", "locale": "en-US"},
})

CLI (same wheel): tapestry init, tapestry auth register, tapestry sandbox bootstrap, tapestry flicker-fox test.

Environment URLs

Examples on this site use the production edge host unless noted. Sandbox self-test uses Flicker Fox credentials from Developer Account.