with Fraudlogix and Deep Tagger?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fraudlogix: {
type: "app",
app: "fraudlogix",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://iplist.fraudlogix.com/v5`,
headers: {
"x-api-key": `${this.fraudlogix.$auth.api_key}`,
},
params: {
ip: `{your_ip_address}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deep_tagger: {
type: "app",
app: "deep_tagger",
}
},
async run({steps, $}) {
const data = {
"fo_id": `${this.deep_tagger.$auth.project_id}`,
"text": `<your_invoice>`,
}
return await axios($, {
method: "post",
url: `https://deeptagger.com/api/v1/extract_data`,
headers: {
"content-type": `application/x-www-form-urlencoded`,
"x-api-key": `${this.deep_tagger.$auth.api_key}`,
},
data,
})
},
})