with Roam Research and api4ai?
Emit new event for each new or modified linked reference in Roam Research.
Adds content as a child block to a daily note page in Roam Research (access to encrypted and non encrypted graphs). See the documentation
Accurately identifies alcohol labels using advanced intelligent technologies. Powered by API4AI.
Add content as a child block to an existing or new page in Roam Research (access to encrypted and non encrypted graphs). See the documentation
Automatically and quickly remove image background with high accuracy. Powered by API4AI.
Add content underneath an existing block in your Roam Research graph (access to encrypted and non encrypted graphs). See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
roamresearch: {
type: "app",
app: "roamresearch",
}
},
async run({steps, $}) {
const data = {
"query": `[:find (rand 20 ?block-uid) . :in $ :where [?e :block/uid ?block-uid] [?e :block/page]]`,
}
return await axios($, {
method: "post",
url: `https://api.roamresearch.com/api/graph/${this.roamresearch.$auth.graph_name}/q`,
headers: {
"X-Authorization": `Bearer ${this.roamresearch.$auth.api_token}`,
},
data,
})
},
})
API4AI offers a range of artificial intelligence solutions and APIs for diverse applications, including content moderation, image recognition, and text analysis. Built on a robust cloud technology stack, our APIs guarantee seamless operability, scalability, and reliable uptime. Our aim is to provide standalone AI solutions that effortlessly integrate into any application with minimal setup required.
All API4AI APIs are subscription-based and managed through RapidAPI
👉️️ Website: https://api4.ai
📩 Email: hello@api4.ai
💬 Chat: https://t.me/a4a_support_bot
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
api4ai: {
type: "app",
app: "api4ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://general-detection.p.rapidapi.com/v1/algos`,
headers: {
"X-RapidAPI-Key": `${this.api4ai.$auth.api_key}`,
"X-RapidAPI-Host": `general-detection.p.rapidapi.com`,
},
})
},
})