with Product Hunt and Cradl AI?
Parses data from a document using a custom selected model. See the documentation
Sends a document to an existing flow for human-in-the-loop processing. See the documentation
The Product Hunt API taps into a vibrant community of tech enthusiasts and makers, allowing you to interact with their platform programmatically. With it, you can retrieve details on the latest trending products, post comments, and gather user data. Automating these interactions can keep you informed on tech trends, engage with the community, and analyze market interests.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
product_hunt: {
type: "app",
app: "product_hunt",
}
},
async run({steps, $}) {
const data = {
"query": `{
viewer {
user {
id
username
}
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.producthunt.com/v2/api/graphql`,
headers: {
Authorization: `Bearer ${this.product_hunt.$auth.oauth_access_token}`,
},
data,
})
},
})
Cradl AI is a powerful tool for creating customized machine learning models without extensive coding knowledge. It specializes in processing and understanding various forms of data, including text and images. Utilizing the Cradl AI API on Pipedream, developers can automate workflows involving data analysis, enhance data-driven decision-making, and integrate AI capabilities into applications seamlessly. This opens up opportunities for dynamic interactions with other services, streamlining operations and enhancing user experiences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cradl_ai: {
type: "app",
app: "cradl_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lucidtech.ai/v1/users`,
headers: {
Authorization: `Bearer ${this.cradl_ai.$auth.oauth_access_token}`,
},
})
},
})