with ChargeKeep and ipstack?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chargekeep: {
type: "app",
app: "chargekeep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://crm.chargekeep.com/api/services/Platform/User/GetUsers`,
headers: {
"accept": `application/json`,
"api-key": `${this.chargekeep.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipstack: {
type: "app",
app: "ipstack",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.ipstack.com/8.8.8.8`,
params: {
access_key: `${this.ipstack.$auth.access_key}`,
},
})
},
})