Lexoffice is the online accounting software from Lexware. Regardless of whether you are writing an invoice or making an offer. Access to your numbers from anywhere, web-based and via app.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lexoffice: {
type: "app",
app: "lexoffice",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lexoffice.io/v1/contacts`,
headers: {
Authorization: `Bearer ${this.lexoffice.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})