Google Contacts is a contact management service developed by Google. This service is backed by the Google People API.
Emit new event when a contact group is updated. See the documentation
Emit new event when a contact is updated. See the documentation
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 when a new contact is created. See the documentation
Add a sharing permission to the sharing preferences of a file or folder and provide a sharing URL. See the docs for more information
Create a copy of the specified file. See the docs for more information
The Google People API lets you manage contact information for people in your
Google account. You can use this API to create and manage contacts, as well as
groups of contacts. With the People API, you can list all the contacts in your
account, as well as their information, such as email addresses, phone numbers,
and contact photos. You can also use the People API to create new contacts, or
to add new information to existing contacts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_contacts: {
type: "app",
app: "google_contacts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://people.googleapis.com/v1/people/me`,
headers: {
Authorization: `Bearer ${this.google_contacts.$auth.oauth_access_token}`,
},
params: {
personFields: `names,emailAddresses`,
},
})
},
})
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}`,
},
})
},
})