with CoderPad and Transloadit?
Emit new event when a Transloadit assembly finishes processing. See the documentation
Emit new event when a failed occurs during assembly processing. See the documentation
Cancel a running assembly by its assembly ID. Useful for aborting processing jobs that are no longer needed. See the documentation
Create a new assembly to process files using a specified template and steps. See the documentation
Retrieve the current status and results of an existing assembly. See the documentation
The CoderPad API on Pipedream allows developers to streamline technical interviews and coding assessments by automating the creation, management, and evaluation of coding pads. By integrating CoderPad with Pipedream, you can set up custom workflows that respond to events in your hiring pipeline, synchronize interview data with HR systems, evaluate coding performance, and much more. This seamless automation can save time, reduce manual error, and enhance the overall efficiency of technical assessments.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
coderpad: {
type: "app",
app: "coderpad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.coderpad.io/api/pads`,
headers: {
"Authorization": `Token token=${this.coderpad.$auth.api_key}`,
},
})
},
})
import Transloadit from 'transloadit';
export default defineComponent({
props: {
transloadit: {
type: "app",
app: "transloadit",
}
},
async run({ steps, $ }) {
const transloadit = new Transloadit({
authKey: this.transloadit.$auth.auth_key,
authSecret: this.transloadit.$auth.auth_secret
})
const options = {
params: {
steps: {
"encoded": {
"use": ":original",
"robot": "/video/encode",
"preset": "iphone-high"
},
"thumbed": {
"use": "encoded",
"robot": "/video/thumbs",
"count": 8
}
}
},
waitForCompletion: true,
}
return await transloadit.createAssembly(options);
},
})