Google Photos is the home for all your photos and videos
Adds selected items to the selected album. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Google Photos is a photo sharing and storage service developed by Google. It
was announced at the Google I/O conference on May 28, 2015. It allows users to
store, share, and edit photos and videos. The service also provides a suite of
tools for developers to build photo-sharing applications.
The Google Photos API provides a set of tools that developers can use to build
applications that enable users to share and edit photos and videos. The API
lets developers create, view, and edit albums, photos, and videos; upload and
download photos and videos; and search for photos and videos.
Albums, photos, and videos can be shared with other users, and users can add
comments to photos and videos. The API also provides a set of tools for
developers to build photo-sharing applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_photos: {
type: "app",
app: "google_photos",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_photos.$auth.oauth_access_token}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})