with GageList and Altiria?
Send an SMS message. The message will be sent to the phone numbers you specify. See the documentation
Finds and retrieves a gage based on its ID in GageList. See the documentation
Updates a specific gage using its ID on GageList. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gagelist: {
type: "app",
app: "gagelist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gagelist.net/GageList/api/Account/Status`,
headers: {
Authorization: `Bearer ${this.gagelist.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
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,
})
},
})