import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ometria: {
type: "app",
app: "ometria",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ometria.com/v2/orders`,
headers: {
"X-Ometria-Auth": `${this.ometria.$auth.api_key}`,
},
})
},
})
Ometria uses API keys for authentication. When you connect your Ometria account, Pipedream securely stores the keys so you can easily authenticate to Ometria APIs in both code and no-code steps.
Ometria API key which can be obtained from your Ometria account administrator. See docs.