with easyhire and Google Marketplace?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easyhire: {
type: "app",
app: "easyhire",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://easyhire.ai/api/auth/`,
headers: {
"Authorization": `Api-Key ${this.easyhire.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_marketplace: {
type: "app",
app: "google_marketplace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://appsmarket.googleapis.com/appsmarket/v2/licenseNotification/${this.google_marketplace.$auth.application_id}`,
headers: {
Authorization: `Bearer ${this.google_marketplace.$auth.oauth_access_token}`,
},
})
},
})