with Attentive and Globalping?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attentive: {
type: "app",
app: "attentive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attentivemobile.com/v1/me`,
headers: {
Authorization: `Bearer ${this.attentive.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
globalping: {
type: "app",
app: "globalping",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.globalping.io/v1/limits`,
headers: {
Authorization: `Bearer ${this.globalping.$auth.api_key}`,
},
})
},
})