with ClassMarker and Tomba ?
import axios from "axios";
import crypto from "crypto";
export default defineComponent({
props: {
classmarker: {
type: "app",
app: "classmarker",
}
},
async run({ steps, $ }) {
const timestamp = Math.floor(Date.now() / 1000);
const string_to_hash = this.classmarker.$auth.api_key + this.classmarker.$auth.api_secret + timestamp;
const signature = crypto.createHash('md5').update(string_to_hash).digest('hex');
const { data } = await axios({
method: "GET",
url: "https://api.classmarker.com/v1.json",
params: {
api_key: this.classmarker.$auth.api_key,
signature,
timestamp
}
})
return data
},
})
The Tomba API is a potent tool for email discovery and domain search. With it, you can automate the process of finding and verifying email addresses linked to a domain, which could be pivotal for lead generation, outreach campaigns, or market research. By leveraging the Tomba API on Pipedream, you streamline these tasks into efficient workflows that can interact with numerous other apps and services, such as CRMs, marketing automation tools, or database managers. The synergy between Tomba and Pipedream allows for real-time processing and integration of email data within your existing business systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tomba: {
type: "app",
app: "tomba",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tomba.io/v1/me`,
headers: {
"X-Tomba-Key": `${this.tomba.$auth.api_key}`,
"X-Tomba-Secret": `${this.tomba.$auth.api_secret}`,
},
})
},
})