with Serpdog and Docnify?
Add a recipient to an existing Docnify document. [See the documentation](See the documentation)
Create a new document in Docnify from a pre-existing template. See the documentation
The Serpdog API lets you track search engine rankings for keywords across different regions and devices. Using this API on Pipedream, you can automate SEO monitoring tasks, integrate ranking data into reports, or trigger actions based on ranking changes. Pipedream's serverless platform facilitates the creation of workflows using Serpdog's data, without the need for a dedicated server or complex infrastructure setup.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
serpdog: {
type: "app",
app: "serpdog",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.serpdog.io/account_info`,
params: {
api_key: `${this.serpdog.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docnify: {
type: "app",
app: "docnify",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.docnify.$auth.url}/api/v1/documents`,
headers: {
"Authorization": `${this.docnify.$auth.api_token}`,
},
params: {
page: `1`,
perPage: `1`,
},
})
},
})