fathom-typescript
Version:
Fathom's official TypeScript SDK.
45 lines (38 loc) • 817 B
text/typescript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import dotenv from "dotenv";
dotenv.config();
/**
* Example usage of the fathom-typescript SDK
*
* To run this example from the examples directory:
* npm run build && npx tsx listMeetings.example.ts
*/
import { Fathom } from "fathom-typescript";
const fathom = new Fathom({
security: {
apiKeyAuth: "<YOUR_API_KEY_HERE>",
},
});
async function main() {
const result = await fathom.listMeetings({
calendarInviteesDomains: [
"acme.com",
"client.com",
],
meetingType: "all",
recordedBy: [
"ceo@acme.com",
"pm@acme.com",
],
teams: [
"Sales",
"Engineering",
],
});
for await (const page of result) {
console.log(page);
}
}
main().catch(console.error);