with ProProfs Knowledge Base and Accuranker?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proprofs_knowledge_base: {
type: "app",
app: "proprofs_knowledge_base",
}
},
async run({steps, $}) {
const data = {
"action": `gettoc`,
"api_key": `${this.proprofs_knowledge_base.$auth.api_key}`,
"node_id": `0`,
"type": `all`,
}
return await axios($, {
method: "post",
url: `https://www.helpdocsonline.com/proprofsapi/v1/`,
data,
})
},
})
Accuranker is an SEO tool that specializes in tracking and reporting on keyword rankings. Using the Accuranker API with Pipedream, you can automate checks on keyword positions, get insights on SERP data, and respond to ranking changes in real time. You can also compile performance reports, set up alerts for ranking changes, and integrate with other platforms to link SEO data with marketing, sales, or content strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuranker: {
type: "app",
app: "accuranker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.accuranker.com/api/v4/accounts/`,
headers: {
Authorization: `Bearer ${this.accuranker.$auth.oauth_access_token}`,
},
params: {
fields: `id`,
},
})
},
})