import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peaka: {
type: "app",
app: "peaka",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://partner.peaka.studio/api/v1/supportedDrivers`,
headers: {
Authorization: `Bearer ${this.peaka.$auth.api_key}`,
},
})
},
})
Runs a specific query in Peaka and returns the result as line items. See the documentation
Performs a search for a specific query in Peaka and returns the matches as rows. See the documentation
Peaka uses API keys for authentication. When you connect your Peaka account, Pipedream securely stores the keys so you can easily authenticate to Peaka APIs in both code and no-code steps.