Resource management that keeps projects profitable, workloads sustainable, and distributed teams in sync.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
float: {
type: "app",
app: "float",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.float.com/v3/accounts`,
headers: {
Authorization: `Bearer ${this.float.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})