with Pexels and Cloud Convert?
Emit new event when a new curated photo is added to the Pexels curated collection. See the documentation
Emit new event when a photo is published that matches a specified search query. See the documentation
Emit new event when a CloudConvert job has failed. See the documentation
Emit new event when a CloudConvert job has been completed. See the documentation
Emit new event when a new job has been created. See the documentation
Download a specific photo by providing its photo ID and optionally choosing the desired size. See the documentation
Converts an input file to a specified output format using CloudConvert. See the documentation
Retrieve detailed information about a specific photo by providing its photo ID. See the documentation
Creates an archive in a specified format. See the documentation
Creates a task to import a file from a URL. See the documentation
The Pexels API provides access to a well-curated library of high-quality photos and videos, all offered under the Pexels license which allows for a broad range of uses. On Pipedream, this API becomes a treasure trove for automations that require dynamic, attractive visuals. Whether for social media posts, content curation, or website updates, you can fetch and utilize rich media programmatically to enhance your digital projects.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pexels: {
type: "app",
app: "pexels",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pexels.com/v1/search?query=people`,
headers: {
"Authorization": `${this.pexels.$auth.api_key}`,
},
})
},
})
The Cloud Convert API offers a robust solution for file conversion, supporting a vast array of file formats. With Pipedream, you can harness this versatility to create automated workflows that trigger file conversions, process the resulting files, and integrate with other services. By combining Cloud Convert with Pipedream's connectivity to hundreds of apps, you can craft custom automation that saves time and removes the friction from multi-format file management tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloud_convert: {
type: "app",
app: "cloud_convert",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cloudconvert.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.cloud_convert.$auth.oauth_access_token}`,
},
})
},
})