with Plainly and RentCast?
Creates a render job for a video template. See the documentation
Search for rental listings in a geographical area, or by a specific address. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Get aggregate rental statistics and listing trends for a single US zip code. See the documentation
Fetches a list of available video templates in a project in the user's Plainly account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plainly: {
type: "app",
app: "plainly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plainlyvideos.com/api/v2/projects`,
auth: {
username: `${this.plainly.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rentcast: {
type: "app",
app: "rentcast",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rentcast.io/v1/properties/random`,
headers: {
"accept": `application/json`,
"X-Api-Key": `${this.rentcast.$auth.api_key}`,
},
})
},
})