Robust, ultra-fast image optimizer and compressor with best-in-class algorithms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kraken_io: {
type: "app",
app: "kraken_io",
}
},
async run({steps, $}) {
const data = {
"auth": {
"api_key": `${this.kraken_io.$auth.api_key}`,
"api_secret": `${this.kraken_io.$auth.api_secret}`
}
};
return await axios($, {
method: "post",
url: `https://api.kraken.io/user_status`,
headers: {
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})
The DPD API provides a gateway to manage and automate digital product sales. By integrating with Pipedream, you can craft serverless workflows that interact with your DPD account, harnessing the ability to automate tasks like creating products, updating customer details, or reacting to new sales in real-time. With Pipedream's ability to connect to a multitude of services, the DPD API can be part of a larger ecosystem, streamlining your e-commerce operations or enriching your customer data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dpd2: {
type: "app",
app: "dpd2",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getdpd.com/v2/storefronts`,
auth: {
username: `${this.dpd2.$auth.api_username}`,
password: `${this.dpd2.$auth.api_password}`,
},
})
},
})