with Addressfinder and Clio - Australia?
Validates an Australian address. See the documentation
Validates a New Zealand address. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
addressfinder: {
type: "app",
app: "addressfinder",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.addressfinder.io/api/email/v1/verification/`,
headers: {
"Authorization": `${this.addressfinder.$auth.secret}`,
},
params: {
key: `${this.addressfinder.$auth.key}`,
email: `hello@addressfinder.com`,
format: `json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clio_australia: {
type: "app",
app: "clio_australia",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://au.app.clio.com/api/v4/users/who_am_i`,
headers: {
Authorization: `Bearer ${this.clio_australia.$auth.oauth_access_token}`,
},
})
},
})