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
Creates a new dynamic video campaign. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendspark: {
type: "app",
app: "sendspark",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.sendspark.$auth.api_url}/v1/workspaces/${this.sendspark.$auth.workspace_id}/dynamics`,
headers: {
"x-api-key": `${this.sendspark.$auth.api_key}`,
"x-api-secret": `${this.sendspark.$auth.api_secret_key}`,
},
})
},
})