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
Get current account balance including credit limits in SMS Fusion. See the documentation
Perform HLR on a number with SMS Fusion. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sms_fusion: {
type: "app",
app: "sms_fusion",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.smsfusion.com.au/balance/`,
headers: {
"accept": `application/json`,
},
params: {
key: `${this.sms_fusion.$auth.api_key}`,
},
})
},
})