with GoDaddy and Pennylane?
Emit new event when a new domain is added. See the documentation
Emit new event when a billing subscription is created.
Emit new event when a new invoice is created or imported.
Check the availability of a domain. See the documentation
Creates a billing subscription for a customer. See the documentation
Generates a new invoice for a customer using Pennylane. See the documentation
The GoDaddy API provides programmatic access to manage aspects of your GoDaddy domain and hosting services. Through Pipedream, you can automate domain availability checks, renewals, and DNS record management. This enables seamless integration of domain-related operations within your automated workflows, such as dynamically updating DNS records or triggering actions based on domain registration events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
godaddy: {
type: "app",
app: "godaddy",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.godaddy.$auth.api_url}/v1/countries`,
headers: {
"Authorization": `sso-key ${this.godaddy.$auth.api_key}:${this.godaddy.$auth.api_secret}`,
},
params: {
marketId: `en-MX`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pennylane: {
type: "app",
app: "pennylane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.pennylane.com/api/external/v1/me`,
headers: {
Authorization: `Bearer ${this.pennylane.$auth.oauth_access_token}`,
"Accept": `application/json`
},
})
},
})