with MinIO and Fathom?
Emit new event when a new recording is created. See the documentation
Get the transcript of a recording. See the documentation
import * as Minio from 'minio'
export default defineComponent({
props: {
minio: {
type: "app",
app: "minio",
}
},
async run({steps, $}) {
const minioClient = new Minio.Client({
endPoint: this.minio.$auth.endpoint,
port: this.minio.$auth.port,
useSSL: this.minio.$auth.use_ssl,
accessKey: this.minio.$auth.access_key,
secretKey: this.minio.$auth.access_secret,
})
const buckets = await minioClient.listBuckets()
return buckets;
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fathom: {
type: "app",
app: "fathom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fathom.ai/external/v1/teams`,
headers: {
Authorization: `Bearer ${this.fathom.$auth.oauth_access_token}`,
},
})
},
})