with Plainly and Pexels?
Emit new event when a new curated photo is added to the Pexels curated collection. See the documentation
Emit new event when a video render job finishes successfully.
Emit new event when a photo is published that matches a specified search query. See the documentation
Emit new event when a video is created or uploaded in Plainly.
Creates a render job for a video template. See the documentation
Download a specific photo by providing its photo ID and optionally choosing the desired size. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Retrieve detailed information about a specific photo by providing its photo ID. See the documentation
Fetches a list of available video templates in a project in the user's Plainly account. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plainly: {
type: "app",
app: "plainly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.plainlyvideos.com/api/v2/projects`,
auth: {
username: `${this.plainly.$auth.api_key}`,
password: ``,
},
})
},
})
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}`,
},
})
},
})