with One AI and Dacast?
Find clusters with a similar meaning of a given text. See the documentation
One AI API enables users to leverage advanced language AI to analyze and process text. On Pipedream, you can integrate One AI into serverless workflows to automate tasks like content summarization, emotion detection, or keyword extraction. By tapping into One AI's capabilities via Pipedream, you can enrich data, glean insights, and streamline content-centric operations with ease and efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
one_ai: {
type: "app",
app: "one_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.oneai.com/api/v0/org/info`,
headers: {
"api-key": `${this.one_ai.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
Dacast's API gives you the power to manage live and on-demand video content. With this API, you can automate content creation, update settings, and pull analytics, all of which can be seamlessly integrated with Pipedream workflows. Use it to synchronize your video content with other databases, notify subscribers about new videos, or generate real-time alerts based on streaming performance metrics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dacast: {
type: "app",
app: "dacast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://developer.dacast.com/v2/playlists`,
headers: {
"X-Api-Key": `${this.dacast.$auth.api_key}`,
"X-Format": `default`,
},
})
},
})