with Re:amaze and GitHub?
Find issues and pull requests by state and keyword. See the documentation
Allows you to add a new gist with one or more files. See the documentation
Re:amaze is a customer service and engagement platform that combines email, social media, mobile, and live chat communication with customers into a single, integrated dashboard. Leveraging the Re:amaze API on Pipedream allows automating routine support tasks, syncing customer data across platforms, triggering event-based communications, and more. This API's functionality can streamline customer interactions, ensure timely responses, and enhance overall customer experience management.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
re_amaze: {
type: "app",
app: "re_amaze",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.re_amaze.$auth.domain}.reamaze.io/api/v1/contacts`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.re_amaze.$auth.email}`,
password: `${this.re_amaze.$auth.api_token}`,
},
})
},
})
The GitHub API is a powerful gateway to interaction with GitHub's vast web of data and services, offering a suite of endpoints to manipulate and retrieve information on repositories, pull requests, issues, and more. Harnessing this API on Pipedream, you can orchestrate automated workflows that respond to events in real-time, manage repository data, streamline collaborative processes, and connect GitHub with other services for a more integrated development lifecycle.
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`,
},
})
},
})