with Transloadit and Ahrefs?
Emit new event when a Transloadit assembly finishes processing. See the documentation
Emit new event when a failed occurs during assembly processing. See the documentation
Cancel a running assembly by its assembly ID. Useful for aborting processing jobs that are no longer needed. See the documentation
Get the backlinks for a domain or URL with details for the referring pages (e.g., anchor and page title).
Create a new assembly to process files using a specified template and steps. See the documentation
Get one backlink with the highest ahrefs_rank
per referring domain for a target URL or domain (with details for the referring pages including anchor and page title).
Retrieve the current status and results of an existing assembly. See the documentation
import Transloadit from 'transloadit';
export default defineComponent({
props: {
transloadit: {
type: "app",
app: "transloadit",
}
},
async run({ steps, $ }) {
const transloadit = new Transloadit({
authKey: this.transloadit.$auth.auth_key,
authSecret: this.transloadit.$auth.auth_secret
})
const options = {
params: {
steps: {
"encoded": {
"use": ":original",
"robot": "/video/encode",
"preset": "iphone-high"
},
"thumbed": {
"use": "encoded",
"robot": "/video/thumbs",
"count": 8
}
}
},
waitForCompletion: true,
}
return await transloadit.createAssembly(options);
},
})
Ahrefs API taps into the vast data reserves of Ahrefs, a robust SEO tool, to programmatically access insights into backlink profiles, keyword rankings, and SEO health. With Pipedream's capabilities, you can automate SEO monitoring, integrate with content management systems, trigger alerts for new or lost backlinks, or gather intelligence for keyword research—all without manual intervention. This unlocks the potential for real-time SEO strategy adjustments and the integration of SEO data into broader business processes or analytics platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ahrefs: {
type: "app",
app: "ahrefs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://apiv2.ahrefs.com`,
params: {
output: `json`,
token: `${this.ahrefs.$auth.oauth_access_token}`,
from: `subscription_info`,
},
})
},
})