with Discogs and Equifax?
Emit new event when there is an order with status 'New Order'. See the documentation
Emits an event when an order status changes to 'Cancelled'. See the documentation
Creates a new listing in the Discogs marketplace. See the documentation
Updates the status of an existing order on Discogs. See the documentation
The Discogs API offers a gateway to rich data on music artists, labels, and releases. With Pipedream, you can harness this data to create automated workflows that can tap into a vast repository of music information. Whether you're looking to sync your music collection with a personal database, track marketplace activity, or curate personalized music recommendations, the Discogs API paired with Pipedream provides a streamlined platform for integrating and automating these processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discogs: {
type: "app",
app: "discogs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.discogs.com/database/search?q=jimi+hendrix&type=artist%22`,
headers: {
"Authorization": `Discogs token=${this.discogs.$auth.personal_access_token}`,
},
})
},
})
/**
* REQUIRED SCOPE: https://api.equifax.com/business/cnl-address/v1
*
* This test request uses the Equifax Address Insights API.
* Before using:
* 1. Enable the proper scope on your app
* 2. Modify the code to use your intended API endpoint
* 3. Verify your environment (sandbox, test, production)
*/
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
equifax: {
type: "app",
app: "equifax",
}
},
async run({steps, $}) {
const data = {
"context": {
"memberId": "311JA11903",
"referenceId": "1234ABCD"
},
"address": {
"line1": "4201 W KLING ST",
"line2": "",
"city": "BURBANK",
"stateProvince": "CA",
"postalCode": "91505"
}
}
return await axios($, {
method: "post",
url: `https://api.sandbox.equifax.com/business/cnl-address/v1/addressInsights`,
headers: {
Authorization: `Bearer ${this.equifax.$auth.oauth_access_token}`,
},
data,
})
},
})