with Universal Summarizer by Kagi and Uploadcare?
Summarizes the content of a URL. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
universal_summarizer_by_kagi: {
type: "app",
app: "universal_summarizer_by_kagi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://kagi.com/api/v0/summarize`,
headers: {
"Authorization": `Bot ${this.universal_summarizer_by_kagi.$auth.api_key}`,
},
params: {
url: `https://www.youtube.com/watch?v=Y-4byg2pXL0`,
summary_type: `summary`,
engine: `muriel`,
},
})
},
})
Uploadcare is a file uploading, processing, and delivery platform that provides developers with tools to handle the entire file lifecycle with ease. With its robust API, you can upload files from any device, transform images and documents on-the-fly, and manage digital content with a comprehensive set of features. Integrating Uploadcare with Pipedream allows you to craft workflows that automate file operations and connect them seamlessly with other services, such as CRMs, marketing platforms, and data analysis tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uploadcare: {
type: "app",
app: "uploadcare",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.uploadcare.com/project/`,
headers: {
"Content-Type": `application/json`,
"Accept": `application/vnd.uploadcare-v0.5+json`,
"Authorization": `Uploadcare.Simple ${this.uploadcare.$auth.api_key}:${this.uploadcare.$auth.api_secret}`,
},
})
},
})