with SmugMug and FinerWorks?
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,
})
},
})
FinerWorks is an online platform that allows users to print and drop ship fine art prints and other related products. With the FinerWorks API, you can automate the process of creating orders, managing items, and integrating print-on-demand services into your business. When used in Pipedream, it unlocks possibilities for streamlining how orders are processed, integrating with other services like payment gateways or customer relationship management systems, and automating notifications for order updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finerworks: {
type: "app",
app: "finerworks",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finerworks.com/v3/list_order_status_definitions`,
headers: {
"web_api_key": `${this.finerworks.$auth.web_api_key}`,
"app_key": `${this.finerworks.$auth.app_key}`,
},
})
},
})