with LiveKit and Fatture in Cloud?
Create a new ingress from url in LiveKit. See the documentation
import { RoomServiceClient } from 'livekit-server-sdk';
export default defineComponent({
props: {
livekit: {
type: "app",
app: "livekit",
}
},
async run({steps, $}) {
const svc = new RoomServiceClient(
`https://${this.livekit.$auth.project_url}`,
this.livekit.$auth.api_key,
this.livekit.$auth.secret_key);
return await svc.listRooms();
},
})
Fatture in Cloud API offers comprehensive tools for managing invoices, clients, suppliers, and accounting records all via cloud-based operations. Utilizing this API on Pipedream allows you to seamlessly automate billing processes, synchronize financial data across various platforms, and trigger actions based on invoice activities. This integration can save time, reduce errors, and provide real-time insights into financial operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fatture_in_cloud: {
type: "app",
app: "fatture_in_cloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-v2.fattureincloud.it/user/info`,
headers: {
Authorization: `Bearer ${this.fatture_in_cloud.$auth.oauth_access_token}`,
},
})
},
})