with Getty Images and CaptureKit?
Capture a high-quality image of any webpage. See the documentation
Extract structured data from any webpage, including metadata, links, and raw HTML. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
capturekit: {
type: "app",
app: "capturekit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.capturekit.dev/capture`,
headers: {
"x-access-key": `${this.capturekit.$auth.access_key}`,
},
params: {
url: `https://pipedream.com`,
},
})
},
})