import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tuskr: {
type: "app",
app: "tuskr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tuskr.live/api/tenant/${this.tuskr.$auth.tenant_id}/project`,
headers: {
Authorization: `Bearer ${this.tuskr.$auth.api_key}`,
},
})
},
})
Tuskr uses API keys for authentication. When you connect your Tuskr account, Pipedream securely stores the keys so you can easily authenticate to Tuskr APIs in both code and no-code steps.