Skip to content

Latest commit

 

History

History
 
 

file

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

📄 File

Docs

import { LemonsqueezyClient } from "lemonsqueezy.ts";

const client = new LemonsqueezyClient("YOUR_API_KEY");

const file = await client.retrieveFile({
  id: "...",
});

const files = await client.listAllFiles();
import { retrieveFile, listAllFiles } from "lemonsqueezy.ts/file";

const file = await retrieveFile({
  apiKey: "YOUR_API_KEY",
  id: "...",
});

const files = await listAllFiles({
  apiKey: "YOUR_API_KEY",
});