with iHomefinder and Dasha AI?
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}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    dasha_ai: {
      type: "app",
      app: "dasha_ai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://blackbox.dasha.ai/api/v1/misc/me`,
      headers: {
        Authorization: `Bearer ${this.dasha_ai.$auth.api_token}`,
        "accept": `application/json`,
      },
    })
  },
})