import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flotiq: {
type: "app",
app: "flotiq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flotiq.com/api/v1/open-api-schema.json`,
headers: {
"accept": `*/*`,
"x-auth-token": `${this.flotiq.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
Flotiq uses API keys for authentication. When you connect your Flotiq account, Pipedream securely stores the keys so you can easily authenticate to Flotiq APIs in both code and no-code steps.