Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Retrieve the IDs of documents associated with your account. See the documentation
Retrieve the document object for a submitted piece of content. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
undetectable_ai: {
type: "app",
app: "undetectable_ai",
}
},
async run({steps, $}) {
const data = {
"content": `Pipedream is a platform that allows developers to connect APIs, AI, databases, and more. It provides a fast way to build powerful applications that integrate all the services in your stack.`,
"readability": "High School",
"purpose": "General Writing",
"strength": "More Human"
};
return await axios($, {
method: "post",
url: `https://api.undetectable.ai/submit`,
headers: {
"api-key": `${this.undetectable_ai.$auth.api_key}`,
},
data,
})
},
})