with Getty Images and NiftyImages?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getty_images: {
type: "app",
app: "getty_images",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gettyimages.com/v3/products`,
headers: {
Authorization: `Bearer ${this.getty_images.$auth.oauth_access_token}`,
"accept": `application/json`,
"api-key": `${this.getty_images.$auth.api_key}`,
},
})
},
})
The NiftyImages API allows for the dynamic creation and customization of images for email marketing campaigns. By automating image personalization, users can create unique, engaging visuals that resonate with each recipient. It's possible to insert text into images, generate countdown timers, and manipulate image URLs on the fly, enhancing the visual appeal and relevance of marketing messages.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
niftyimages: {
type: "app",
app: "niftyimages",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.niftyimages.com/v1/Widgets`,
headers: {
"ApiKey": `${this.niftyimages.$auth.api_key}`,
},
})
},
})