with SimpleKPI and Logoraisr?
The SimpleKPI API enables users to programmatically manage and access their key performance indicators (KPIs), providing an interface for operations like retrieving KPI data, updating KPI values, and managing users and reports. Leveraging the SimpleKPI API within Pipedream, you can create powerful, serverless workflows that automate the tracking and reporting of performance metrics, integrate with other apps to enrich your KPI data, or trigger actions based on performance thresholds.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simplekpi: {
type: "app",
app: "simplekpi",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.simplekpi.$auth.subdomain}.simplekpi.com/api/users`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.simplekpi.$auth.email}`,
password: `${this.simplekpi.$auth.api_token}`,
},
})
},
})
The Logoraisr API enables you to enhance images through advanced processing techniques. With Logoraisr, you can improve the quality of logos and graphics, making them sharper and ready for various use cases like branding, marketing, and design projects. When combined with Pipedream, you can automate image processing workflows, handling bulk image enhancements, integrating with cloud storage solutions, and connecting with other apps to streamline your graphic design operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
logoraisr: {
type: "app",
app: "logoraisr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.logoraisr.com/rest-v1/processes/`,
headers: {
"Authorization": `Token ${this.logoraisr.$auth.api_key}`,
},
})
},
})