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
Send an SMS message. The message will be sent to the phone numbers you specify. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
altiria: {
type: "app",
app: "altiria",
}
},
async run({steps, $}) {
const data = {
"credentials":{
"apikey": `${this.altiria.$auth.api_key}`,
"apisecret": `${this.altiria.$auth.api_secret}`
}
}
return await axios($, {
method: "post",
url: `https://www.altiria.net:8443/apirest/ws/getCredit`,
data,
})
},
})