with Postman and ImageKit.io?
Emit new event when a monitor run is completed. See the documentation
The Postman API enables you to automate tasks within your Postman collections, such as running collections, fetching and updating environments, and integrating your API development workflow into your CI/CD pipeline. Using Pipedream, you can harness this functionality to create custom workflows that trigger on various events, process data, and connect with other apps, extending the capabilities of your API testing and development processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
postman: {
type: "app",
app: "postman",
}
},
async run({steps, $}) {
const data = {
"auth_token": `=user:NNNNNN`,
}
return await axios($, {
url: `https://api.getpostman.com/me`,
headers: {
"X-Api-Key": `${this.postman.$auth.api_key}`,
},
data,
})
},
})
ImageKit.io API lets you manage, optimize, and deliver images dynamically for your web applications. On Pipedream, you can integrate this API to construct serverless workflows that automate your image operations and connect with other services. You can upload images from various sources, apply real-time transformations, and track media assets without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
imagekit_io: {
type: "app",
app: "imagekit_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.imagekit.io/v1/files`,
auth: {
username: `${this.imagekit_io.$auth.private_key}`,
password: ``,
},
})
},
})