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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
autoblogger: {
type: "app",
app: "autoblogger",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://autoblogger-api.otherweb.com/api/v1/site/validate/apikey`,
headers: {
"x-api-key": `${this.autoblogger.$auth.api_key}`,
},
})
},
})