with Plainly and PDF4me?
Creates a render job for a video template. See the documentation
Retrieves the current status of a render job in Plainly. See the documentation
Convert a document (e.g., DOCX, XLSX, PPTX) to PDF. 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: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdf4me: {
type: "app",
app: "pdf4me",
}
},
async run({steps, $}) {
const data = {
"webUrl": `https://www.pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://api.pdf4me.com/api/v2/ConvertUrlToPdf`,
headers: {
"authorization": `${this.pdf4me.$auth.api_key}`,
},
data,
})
},
})