with Grain and Addressfinder?
Fetches a specific recording by its ID from Grain, optionally including the transcript and intelligence notes. See the documentation
Validates an Australian address. See the documentation
Validates a New Zealand address. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grain: {
type: "app",
app: "grain",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.grain.com/_/public-api/me`,
headers: {
Authorization: `Bearer ${this.grain.$auth.oauth_access_token}`,
},
})
},
})
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`,
},
})
},
})