Cross-Platform Contacts App
Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status
trigger. More information here
Emit new events when collaborators are added to a repo
Find issues and pull requests by state and keyword. See docs here
Create or update a file in a repository. This will replace an existing file. See docs here
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
contacts: {
type: "app",
app: "contacts",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.contactsplus.com/api/v1/account.get`,
headers: {
Authorization: `Bearer ${this.contacts.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})