with Matterport and Intuiface?
Get a list of available experiences that can receive a message. See the docs
Send messages to any connected Intuiface Player running an experience that embeds the Web Triggers Interface Asset. See the docs
The Matterport API enables developers to harness the power of 3D spatial data, constructing immersive experiences and automating real estate, retail, and hospitality processes. With APIs allowing access to space details, models, and dimensions, users can integrate Matterport's capabilities into various applications, streamlining workflows such as virtual tour creation, space management, and asset documentation on Pipedream's serverless platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
matterport: {
type: "app",
app: "matterport",
}
},
async run({steps, $}) {
const data = {
"query": `{
models(query: "demo:true", include: demo) {
results {
name
demo
id
}
nextOffset
totalResults
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.matterport.com/api/models/graph`,
auth: {
username: `${this.matterport.$auth.token_id}`,
password: `${this.matterport.$auth.token_secret}`,
},
data,
})
},
})
The Intuiface API lets you interact with your interactive experiences crafted in Intuiface, a platform for creating and deploying interactive digital content. With Pipedream's robust serverless platform, you can automate tasks involving your Intuiface experiences. For instance, you can synchronize user interaction data with CRM systems, update live content dynamically, or monitor and control experiences remotely.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
intuiface: {
type: "app",
app: "intuiface",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.intuiface.com/webtriggers/v1/availableExperiences`,
headers: {
"x-api-key": `${this.intuiface.$auth.api_key}`,
},
})
},
})