with Financial Data and Trust?
Emit new event when a new testimonial is created. See the documentation
Deletes an existing testimonial from the Trust platform. See the documentation
Update an existing testimonial within the Trust platform. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    financial_data: {
      type: "app",
      app: "financial_data",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://financialdata.net/api/v1/stock-symbols`,
      params: {
        key: `${this.financial_data.$auth.api_key}`,
      },
    })
  },
})
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    trust: {
      type: "app",
      app: "trust",
    }
  },
  async run({ steps, $ }) {
    return await axios($, {
      url: `https://api.usetrust.app/v1/websites`,
      headers: {
        "accept": `application/json`,
      },
      auth: {
        username: `x`,
        password: `${this.trust.$auth.api_key}`,
      },
    });
  },
});