DPD is an all-in-one shopping cart and digital fulfillment service to sell downloads. Serving thousands of stores, DPD processes and delivers millions worth of downloads each year.
Emit new event when the specified User receives a Follower See the documentation
Emit new event when the specified User follows a List See the documentation
Emit new event when the specified User is mentioned in a Tweet See the documentation
Emit new event when a new Direct Message (DM) is received See the documentation
Retrieve Tweets from the last seven days that match a query. See the documentation
Add a member to a list owned by the user. See the documentation
The DPD API provides a gateway to manage and automate digital product sales. By integrating with Pipedream, you can craft serverless workflows that interact with your DPD account, harnessing the ability to automate tasks like creating products, updating customer details, or reacting to new sales in real-time. With Pipedream's ability to connect to a multitude of services, the DPD API can be part of a larger ecosystem, streamlining your e-commerce operations or enriching your customer data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dpd2: {
type: "app",
app: "dpd2",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getdpd.com/v2/storefronts`,
auth: {
username: `${this.dpd2.$auth.api_username}`,
password: `${this.dpd2.$auth.api_password}`,
},
})
},
})
The Twitter API on Pipedream enables you to automate interactions with Twitter, from posting tweets to analyzing social media trends. Pipedream's serverless platform provides the tools to create workflows that trigger on specific Twitter activities, process data, and connect with countless other apps for extensive automation scenarios. With Pipedream's integration, you can listen for events such as new tweets, mentions, or followers, and execute actions like tweeting, retweeting, or even leveraging sentiment analysis to gauge public perception.
import { axios } from "@pipedream/platform"
import twitter from "@pipedream/twitter"
export default defineComponent({
props: {
twitter
},
async run({steps, $}) {
const config = {
url: `https://api.twitter.com/2/users/me`,
params: {
"user.fields": `created_at,description,entities,id,location,name,pinned_tweet_id,profile_image_url,protected,url,username,verified,withheld`,
expansions: `pinned_tweet_id`,
},
}
const headers = this.twitter._getAuthHeader(config)
return await axios($, {
...config,
headers
})
},
})