with Riku.AI and The Owen Wilson Wow?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
riku_ai: {
type: "app",
app: "riku_ai",
}
},
async run({steps, $}) {
const data = {
"Name": `YOUR NAME`,
"Secret": `${this.riku_ai.$auth.secret_key}`,
"Prompt ID": `YOUR PROMPT`,
"Input 1": `SaaS`,
"n": `1`,
}
return await axios($, {
method: "post",
url: `https://prompts.riku.ai/webhook/run`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The Owen Wilson Wow API is an open-source library providing access to hundreds
of Owen Wilson's classic Wow quotes. This library is perfect for any project
that needs a pinch of Owen Wilson’s humor or a quick pick-me-up. You can
generate a unique quote with just one simple API call.
Here are some of the ideas you can build using the Owen Wilson Wow API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
owen_wilson: {
type: "app",
app: "owen_wilson",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://owen-wilson-wow-api.herokuapp.com/wows/random`,
})
},
})