with Whop and DeepImage?
Emit new event when a membership goes valid. See the documentation
Emit new event when your company receives a successful payment. See the documentation
Creates a new checkout session in Whop. See the documentation
Creates a new promo code with the given parameters in Whop. See the documentation
Removes the background from the provided image using DeepImage. See the documentation
Upscales the provided image using Deep Image. See the documentation
The Whop API provides access to a marketplace for buying and selling software companies. On Pipedream, you can leverage the Whop API to craft serverless workflows that automate tasks like tracking sales, managing memberships, and integrating with other services for a comprehensive business management solution. It’s great for creating custom alerts, syncing data across platforms, and much more, all without writing a line of server-side code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
whop: {
type: "app",
app: "whop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.whop.com/api/v2/memberships`,
headers: {
Authorization: `Bearer ${this.whop.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepimage: {
type: "app",
app: "deepimage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://deep-image.ai/rest_api/me`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.deepimage.$auth.api_key}`,
},
})
},
})