import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const subscriptionListResponse of client.v1.subscriptions.list()) { console.log(subscriptionListResponse.id);}
import Stigg from '@stigg/typescript';const client = new Stigg({ apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted});// Automatically fetches more pages as needed.for await (const subscriptionListResponse of client.v1.subscriptions.list()) { console.log(subscriptionListResponse.id);}