with Lifx and Streamlabs?
Create a donation for the authenticated user. See the documentation
Sends an alert to the stream overlay with a custom message, image, and sound. See the documentation
Send a test alert to the stream overlay in StreamLabs. See the documentation
With the Lifx API, you have the power to control your Lifx smart lights programmatically. This API lets you change the color, brightness, and power state of your bulbs, and it also allows you to access information on the lights' settings and environment. Pipedream's serverless platform leverages this functionality to create automations that can be triggered by various events. You can set your lights to respond to external factors like the weather, implement them into your smart home routines, or sync them with your productivity apps for visual notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lifx: {
type: "app",
app: "lifx",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lifx.com/v1/lights/all`,
headers: {
Authorization: `Bearer ${this.lifx.$auth.oauth_access_token}`,
},
})
},
})
The Streamlabs API opens doors to automating and enhancing live streaming experiences. By tapping into Streamlabs' functionalities, you can automate alerts, manage donations, and interact with your audience in real time. Augment your streaming workflow by integrating with other services to cut down on manual processes, respond to events as they happen, and personalize the interaction with your viewers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
streamlabs: {
type: "app",
app: "streamlabs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://streamlabs.com/api/v1.0/user`,
params: {
access_token: `${this.streamlabs.$auth.oauth_access_token}`,
},
})
},
})