with SmugMug and Automizy?
Gets details of the authenticated user. See the docs here
Gets an image. An image is a photo or video stored on SmugMug. See the docs here
Gets a user profile. A user profile is the data provided by a user to establish that user's public presence. This may include social networking links, biographical text, and bio and cover images. See the docs here
The SmugMug API provides programmatic access to a user's SmugMug account, allowing them to manage photos, albums, and account settings. With Pipedream, you can automate tasks such as uploading new images, synchronizing photo galleries with other platforms, or triggering actions based on account activity. The API's capabilities paired with Pipedream's serverless platform enable you to craft custom workflows that react to events in SmugMug or orchestrate tasks across multiple apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
smugmug: {
type: "app",
app: "smugmug",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.smugmug.com/api/v2!authuser`,
headers: {
"Accept": `application/json`,
},
}, {
token: {
key: this.smugmug.$auth.oauth_access_token,
secret: this.smugmug.$auth.oauth_refresh_token,
},
oauthSignerUri: this.smugmug.$auth.oauth_signer_uri,
})
},
})
The Automizy API provides a platform for automating email marketing campaigns, managing contacts, and analyzing the effectiveness of your email strategies. By leveraging this API within Pipedream, you can create dynamic, serverless workflows that respond to various triggers, such as user behavior or external events, to send personalized emails, segment contacts based on interactions, and synchronize subscriber data across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
automizy: {
type: "app",
app: "automizy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://gateway.automizy.com/v2/smart-lists`,
headers: {
Authorization: `Bearer ${this.automizy.$auth.api_token}`,
"Content-Type": `application/json`,
"Accept": `application/json`,
},
})
},
})