This directory contains example scripts demonstrating how to use the @gleanwork/api-client SDK.
- Node.js (v18 or higher)
- npm
-
Copy
.env.templateto.env:cp .env.template .env
-
Edit
.envand add your actual credentials (API keys, tokens, etc.)
To run an example file from the examples directory:
npm run build && npx tsx example.tsDuplicate an existing example file, they won't be overwritten by the generation process.
