import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
public_record: {
type: "app",
app: "public_record",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.propmix.io/pubrec/assessor/v1/GetPropertyDetails`,
headers: {
"Access-Token": `${this.public_record.$auth.api_key}`,
},
params: {
StreetAddress: `305 E 2nd St`,
City: `Lucas`,
State: `KS`,
PostalCode: `67648`,
OrderId: `5411013`,
},
})
},
})
Public Record uses API keys for authentication. When you connect your Public Record account, Pipedream securely stores the keys so you can easily authenticate to Public Record APIs in both code and no-code steps.
Sign in and copy your API Key from the API Key page.