with Membervault and MusicBrainz?
MemberVault offers an innovative approach to engaging and understanding your audience through interactive content. With the MemberVault API, you can automate the management of users, products, and engagement data, ensuring seamless integration with your marketing and customer service tools. This capability opens up a world of possibilities for personalized interactions, targeted campaigns, and streamlined content delivery based on user behavior and preferences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
membervault: {
type: "app",
app: "membervault",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.membervault.$auth.subdomain}.vipmembervault.com/api/get_courses`,
params: {
apikey: `${this.membervault.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
musicbrainz: {
type: "app",
app: "musicbrainz",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://musicbrainz.org/oauth2/userinfo`,
headers: {
Authorization: `Bearer ${this.musicbrainz.$auth.oauth_access_token}`,
"user-agent": `@PipedreamHQ/pipedream v0.1 (support@pipedream.com)`,
},
})
},
})