with Kaleido and Postman?
Emit new event when a monitor run is completed. See the documentation
Kaleido provides an API for creating and managing blockchain networks and services. By integrating with Pipedream, you can automate various blockchain tasks such as deploying smart contracts, managing consortia, and handling tokens without managing infrastructure. Pipedream's serverless platform enables you to connect Kaleido with hundreds of other apps to create powerful and scalable workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kaleido: {
type: "app",
app: "kaleido",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.kaleido.$auth.endpoint}.kaleido.io/api/v1/orgs`,
headers: {
Authorization: `Bearer ${this.kaleido.$auth.api_keys}`,
},
})
},
})
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,
})
},
})