with Rumble and Mem?
Emit new event when a livestream becomes live in Rumble. See the documentation
Rumble is a video hosting platform that encourages content discovery and sharing. With the Rumble API on Pipedream, you can automate video uploads, manage user content, and analyze video performance metrics. For instance, you might automate video uploads in response to events, sync video statistics to a database for analysis, or integrate with social media platforms to widen your content's reach.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rumble: {
type: "app",
app: "rumble",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rumble.com/-livestream-api/get-data`,
params: {
key: `${this.rumble.$auth.live_streaming_api_key}`,
},
})
},
})
The Mem API lets you interact with a unique knowledge base that adapts to your needs. Using Pipedream, you can automate tasks, sync information across apps, and trigger actions based on events in Mem. Think of pulling in tasks, pushing notifications, or archiving ideas - Pipedream serves as a superhighway for your Mem data to connect with over 800 apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mem: {
type: "app",
app: "mem",
}
},
async run({steps, $}) {
const data = {
"content": `Pipedream test - new mem`,
}
return await axios($, {
method: "post",
url: `https://api.mem.ai/v0/mems`,
headers: {
"Content-Type": `application/json`,
"Authorization": `ApiAccessToken ${this.mem.$auth.api_key}`,
},
data,
})
},
})