Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
Retrieve all Google ads for a given company domain. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
adyntel: {
type: "app",
app: "adyntel",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.adyntel.$auth.api_key}`,
"email": `${this.adyntel.$auth.username}`,
"company_domain": `pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.adyntel.com/google`,
data,
})
},
})