Online photo application
Watches for changes to specific files, emitting an event any time a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.
Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files
Emit new event any time a new file is added in your linked Google Drive
Emits a new event any time a file comment is added, modified, or deleted in your linked Google Drive
Emit new event any time any file in your linked Google Drive is added, modified, or deleted
Add a sharing permission to the sharing preferences of a file or folder and provide a sharing URL. See the docs for more information
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 SmugMug API makes it possible to access and build upon the powerful SmugMug
platform in creative and custom ways. With the SmugMug API, you can build
applications that interact with users' photos, galleries and albums on the
SmugMug platform. Whether you wish to create a custom photo store, custom photo
workflow, or customize the way people interact with your SmugMug galleries, the
SmugMug API makes it all possible. Here are some examples of what you can
create with the SmugMug API:
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,
})
},
})
Using the Google Drive API, you can build applications that:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_drive: {
type: "app",
app: "google_drive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
},
})
},
})