with HigherGov and Greptile?
Emit new event when a pursuit is added to the pipeline.
Search the user's codebase using a natural language query. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
highergov: {
type: "app",
app: "highergov",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.highergov.com/api-external/people`,
params: {
api_key: `${this.highergov.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
greptile: {
type: "app",
app: "greptile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.greptile.com/v2/chats/${this.greptile.$auth.chat_session_id}`,
headers: {
Authorization: `Bearer ${this.greptile.$auth.api_key}`,
},
})
},
})