with DynaPictures and RentCast?
Emit new event when an image has been generated. See the documentation
Generates a new image by using a given image as a template. See the documentation
Search for rental listings in a geographical area, or by a specific address. See the documentation
Get aggregate rental statistics and listing trends for a single US zip code. See the documentation
Get a property rent estimate and comparable properties. See the documentation
DynaPictures API allows users to automate image generation with dynamic content. It's useful for creating personalized images for marketing campaigns, social media, or e-commerce products. In Pipedream, you can harness DynaPictures API to build serverless workflows that trigger based on various events, manipulate and generate images, and connect with other services for a seamless automation pipeline.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynapictures: {
type: "app",
app: "dynapictures",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dynapictures.com/templates`,
headers: {
Authorization: `Bearer ${this.dynapictures.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})