with CATS and Cloudinary?
Adds a specific candidate to a job pipeline in CATS. See the documentation
Gets a report of your Cloudinary account usage details, including storage, credits, bandwidth, requests, number of resources, and add-on usage. See the documentation
Create a new candidate in your CATS database. See the documentation
Lists resources (assets) uploaded to your product environment. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cats: {
type: "app",
app: "cats",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.catsone.com/v3/users`,
headers: {
"Authorization": `Token ${this.cats.$auth.api_key}`,
},
})
},
})
The Cloudinary API empowers developers to manage media assets in the cloud with ease. It allows for uploading, storing, optimizing, and delivering images and videos with automated transformations to ensure the content is tailored for any device or platform. This API's versatility is key for automating workflows that require dynamic media handling, such as resizing images on-the-fly, converting video formats, or even extracting metadata for asset management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudinary: {
type: "app",
app: "cloudinary",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cloudinary.com/v1_1/${this.cloudinary.$auth.cloud_name}/resources/image`,
auth: {
username: `${this.cloudinary.$auth.api_key}`,
password: `${this.cloudinary.$auth.api_secret}`,
},
})
},
})