E-commerce and audience-building software for creators
With the Gumroad API, you can build applications that can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gumroad: {
type: "app",
app: "gumroad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gumroad.com/v2/user`,
headers: {
Authorization: `Bearer ${this.gumroad.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})