with Planpoint and Logo.dev?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
planpoint: {
type: "app",
app: "planpoint",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.planpoint.io/api/projects`,
headers: {
"authorization": `${this.planpoint.$auth.oauth_access_token}`,
},
})
},
})
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`,
},
})
},
})