with Insites and SmugMug?
Emit new event when a new analysis is completed. See the documentation
Fetch a report from Insites based on the provided business details. See the documentation
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
The Insites API offers a suite of tools for website testing and monitoring, enabling users to automate the process of checking website quality, performance, and compliance with SEO and accessibility standards. With Pipedream, you can harness this API to create workflows that trigger on events across your apps, perform actions based on website analysis results, and automate repetitive tasks that ensure your website maintains high standards for your users.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
insites: {
type: "app",
app: "insites",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.insites.com/api/v1/users`,
headers: {
"api-key": `${this.insites.$auth.api_key}`,
},
})
},
})
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,
})
},
})