import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
screenshotbase: {
type: "app",
app: "screenshotbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.screenshotbase.com/v1/status`,
headers: {
"apikey": `${this.screenshotbase.$auth.api_key}`,
},
})
},
})
screenshotbase uses API keys for authentication. When you connect your screenshotbase account, Pipedream securely stores the keys so you can easily authenticate to screenshotbase APIs in both code and no-code steps.