Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Latest commit

 

History

History

licenseKeyInstance

🥇 License key instance

Docs

import { LemonsqueezyClient } from "lemonsqueezy.ts";

const client = new LemonsqueezyClient("YOUR_API_KEY");

const licenseKeyInstance = await client.retrieveLicenseKeyInstance({
  id: "...",
});

const licenseKeyInstances = await client.listAllLicenseKeyInstances();
import {
  retrieveLicenseKeyInstance,
  listAllLicenseKeyInstances,
} from "lemonsqueezy.ts/licenseKeyInstance";

const licenseKeyInstance = await retrieveLicenseKeyInstance({
  apiKey: "YOUR_API_KEY",
  id: "...",
});

const licenseKeyInstances = await listAllLicenseKeyInstances({
  apiKey: "YOUR_API_KEY",
});