with Logo.dev and Belco?
Emit new conversation event when a new conversation is created. See the documentation
Add a note to a conversation specified by ID. See the documentation
Get a list of conversations from Belco. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logo_dev: {
type: "app",
app: "logo_dev",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.logo.dev/search`,
headers: {
Authorization: `Bearer ${this.logo_dev.$auth.secret_key}`,
},
params: {
"q": `Funko`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
belco: {
type: "app",
app: "belco",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.belco.io/v1/users`,
headers: {
Authorization: `Bearer ${this.belco.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})