with BigDataCorp and Add to Calendar PRO?
Returns the available data for a Zipcode number according to the selected dataset. See the documentation
Returns the available data for a CNPJ number according to the selected dataset. See the documentation
Returns the available data for a CPF number according to the selected dataset. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bigdatacorp: {
type: "app",
app: "bigdatacorp",
}
},
async run({steps, $}) {
const data = {
"q": `doc{007.408.869-67}`,
"Datasets": `registration_data`,
}
return await axios($, {
method: "post",
url: `https://plataforma.bigdatacorp.com.br/pessoas`,
headers: {
"Accept": `application/json`,
"AccessToken": `${this.bigdatacorp.$auth.access_token}`,
"TokenId": `${this.bigdatacorp.$auth.token_id}`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
add_to_calendar_pro: {
type: "app",
app: "add_to_calendar_pro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.add-to-calendar-pro.com/v1/event/all`,
headers: {
"authorization": `${this.add_to_calendar_pro.$auth.api_key}`,
},
})
},
})