import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
profileapi: {
type: "app",
app: "profileapi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.profileapi.com/2024-03-01/companies/find/jobs/latest`,
headers: {
"authorization": `ApiKey ${this.profileapi.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
ProfileAPI uses API keys for authentication. When you connect your ProfileAPI account, Pipedream securely stores the keys so you can easily authenticate to ProfileAPI APIs in both code and no-code steps.