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

Latest commit

 

History

History
28 lines (20 loc) · 605 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 605 Bytes

🏪 Store

Docs

import { LemonsqueezyClient } from "lemonsqueezy.ts";

const client = new LemonsqueezyClient("YOUR_API_KEY");

const store = await client.retrieveStore({
  id: "...",
});

const stores = await client.listAllStores();
import { retrieveStore, listAllStores } from "lemonsqueezy.ts/store";

const store = await retrieveStore({
  apiKey: "YOUR_API_KEY",
  id: "...",
});

const stores = await listAllStores({
  apiKey: "YOUR_API_KEY",
});