with Cults and Rosette Text Analytics?
Cults is a digital marketplace for 3D printing models. The Cults API allows you to interact with their platform programmatically. With the API, you can retrieve model data, search for designs, or get information about designers and makes. By leveraging Pipedream, you can automate workflows that react to new model uploads, filter searches, or integrate with other services like social media or notification systems. Pipedream's serverless platform provides an event-driven approach to execute code in response to Cults API events and connect to hundreds of other services with minimal setup.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cults: {
type: "app",
app: "cults",
}
},
async run({steps, $}) {
const data = {
"query": `{creations(limit:1){name url creator{nick}}}`,
}
return await axios($, {
method: "post",
url: `https://cults3d.com/graphql`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.cults.$auth.username}`,
password: `${this.cults.$auth.api_key}`,
},
data,
})
},
})
The Rosette Text Analytics API brings advanced language processing to the table, allowing you to extract entities, relationships, and sentiment from text. With Pipedream, you can integrate this powerful text analysis into your workflows, triggering actions based on the insights extracted from documents, social media posts, customer feedback, and more. You can use it to enrich CRM data, automate content moderation, or even drive market research by sentiment analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rosette_text_analytics: {
type: "app",
app: "rosette_text_analytics",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rosette.com/rest/v1/ping`,
headers: {
"X-RosetteAPI-Key": `${this.rosette_text_analytics.$auth.api_key}`,
},
})
},
})