with Peerdom and RepliQ?
Emit new event when a new member is added to a group. See the documentation
Emit new event when a new role is created in a circle. See the documentation
Assigns a member to a role within a circle using the Peerdom API. See the documentation
Retrieve the total number of credits left for the month. See the documentation
Launch a Repliq process by deploying the selected template. See the documentation
Update an existing role's attributes such as name, description, or linked domains. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
peerdom: {
type: "app",
app: "peerdom",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.peerdom.app/v1/tenant`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.peerdom.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
repliq: {
type: "app",
app: "repliq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.repliq.co/v2/getCreditsCount`,
headers: {
Authorization: `Bearer ${this.repliq.$auth.api_key}`,
},
})
},
})