with DataSet and iHomefinder?
The DataSet API enables you to manage and analyze large datasets. With Pipedream's integration, you can automate data ingestion, transformation, and analysis, create serverless workflows that respond to data events, and connect with other apps to enrich and utilize your datasets. Utilize Pipedream's serverless platform to trigger workflows, perform actions based on DataSet events, and orchestrate complex data processes with minimal setup.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dataset: {
type: "app",
app: "dataset",
}
},
async run({steps, $}) {
const data = {
"token": `${this.dataset.$auth.access_key}`,
}
return await axios($, {
method: "post",
url: `https://app.scalyr.com/api/listUsers`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})