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