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: ``,
},
})
},
})
Plainly uses API keys for authentication. When you connect your Plainly account, Pipedream securely stores the keys so you can easily authenticate to Plainly APIs in both code and no-code steps.