with Prismic and iHomefinder?
The Prismic API enables you to query and manage your content repository. With Pipedream's serverless integration, you can automate content updates, sync data across multiple platforms, and trigger custom workflows. For instance, you can connect Prismic with your static site generator to update your website's content on-the-fly, or sync Prismic content with a CMS like WordPress for better content management. Pipedream's no-code platform simplifies the process of setting up these integrations and workflows, making it accessible to users of varying technical levels.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
prismic: {
type: "app",
app: "prismic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${auths.prismic.subdomain}.cdn.prismic.io/api/v2/documents/search?ref=ZevOdxAAACUAPpht`,
params: {
access_token: auths.prismic.subdomain
}
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ihomefinder: {
type: "app",
app: "ihomefinder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.idxhome.com/api/v1/client.json`,
headers: {
"accept": `application/json`,
},
auth: {
username: `${this.ihomefinder.$auth.email}`,
password: `${this.ihomefinder.$auth.password}`,
},
})
},
})