with Scrapfly and Google Postmaster Tools?
Emits a new event when traffic stats match certain criteria. See the documentation
Automate content extraction from any text-based source using AI, LLM, and custom parsing. See the documentation
Retrieve current subscription and account usage details from Scrapfly. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapfly: {
type: "app",
app: "scrapfly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapfly.io/scrape`,
params: {
key: `${this.scrapfly.$auth.api_key}`,
url: `https://pipedream.com`,
render_js: `true`,
asp: `true`,
},
})
},
})
The Google Postmaster Tools API offers insights into the performance and deliverability of emails sent to Gmail users. It provides data on spam rates, feedback loops, delivery errors, and more, allowing senders to optimize email campaigns and enhance inbox placement. In Pipedream, you can harness this data to automate monitoring, analyze sending patterns, and integrate email performance metrics with other services for comprehensive analysis and action.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_postmaster_tools_api: {
type: "app",
app: "google_postmaster_tools_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_postmaster_tools_api.$auth.oauth_access_token}`,
},
})
},
})