Accounting software
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
the_bookie: {
type: "app",
app: "the_bookie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.thebookie.nl/nl/api/e1/contacts/`,
headers: {
Authorization: `Bearer ${this.the_bookie.$auth.oauth_access_token}`,
},
params: {
admin_id: `${this.the_bookie.$auth.admin_id}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})