SmugMug

Online photo application

Go to site

Integrate the SmugMug API with the AWS API

Setup the SmugMug API trigger to run a workflow which integrates with the AWS API. Pipedream's integration platform allows you to integrate SmugMug and AWS remarkably fast. Free for developers.

S3 - Upload File

Accepts a base64-encoded string, a filename, and a content type, then uploads as a file to S3

 
Try it
AWS - SQS - Send Message

Sends a message to an SQS queue

 
Try it
S3 - Stream file to S3 from URL

Accepts a file URL, and streams the file to the provided S3 bucket/key

 
Try it
Create Album

Creates an album.

 
Try it
Create Smugmug Album

This action creates an album in a folder. Specify the folder and the JSON document (as a Javascript object) in parameters. A minimal object might look like { UrlName: "weddings-smith-2020-06-02", Name: "Mr & Mrs Smith's June Wedding", Privacy: 2, SecurityType: 1 } More fields documented at https://api.smugmug.com/api/v2/folder

 
Try it

Connect SmugMug

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.smugmug.com/api/v2!authuser`,
  headers: {
    "Accept": `application/json`,
  },
}, {
  token: {
    key: auths.smugmug.oauth_access_token,
    secret: auths.smugmug.oauth_refresh_token,
  },
  oauthSignerUri: auths.smugmug.oauth_signer_uri,
})

Connect AWS

const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = auths.aws

/* Now, pass the accessKeyId and secretAccessKey to the constructor for your desired service. For example:

const dynamodb = new AWS.DynamoDB({
  accessKeyId, 
  secretAccessKey,
  region: 'us-east-1',
})

*/