import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dropinblog: {
type: "app",
app: "dropinblog",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dropinblog.com/v2/blog/${this.dropinblog.$auth.blog_id}/authors`,
headers: {
Authorization: `Bearer ${this.dropinblog.$auth.public_api_key}`,
},
})
},
})
Emit new event when a new post is published. See the documentation.
Allows you to create a new blog post in your DropInBlog account. Requires a private API key. See the documentation.
DropInBlog uses API keys for authentication. When you connect your DropInBlog account, Pipedream securely stores the keys so you can easily authenticate to DropInBlog APIs in both code and no-code steps.
For DropInBlog actions and sources to work, you will need to provide a Private API Key and Public API Key.