with Rebrandly and ViewDNS.info?
Performs a DNS record lookup to retrieve various DNS record types for a domain. See the documentation
Retrieves the IP address history for a domain. See the documentation
Performs a reverse IP lookup to find domains hosted on the same IP address. See the documentation
The Rebrandly API enables the creation, updating, and management of branded short links. Within Pipedream, you can leverage this API to automate custom URL shortening workflows, analyze link performance, and seamlessly integrate URL management into your business processes or applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rebrandly: {
type: "app",
app: "rebrandly",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rebrandly.com/v1/account`,
headers: {
Authorization: `Bearer ${this.rebrandly.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
viewdns_info: {
type: "app",
app: "viewdns_info",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.viewdns.info/ping/v2/`,
params: {
host: `pipedream.com`,
apikey: `${this.viewdns_info.$auth.api_key}`,
output: `json`,
},
})
},
})