with Nusii Proposals 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
The Nusii Proposals API enables users to automate and integrate their proposal workflow with other tools and services. With this API, you can create, send, and manage proposals, keep track of their status, and handle clients efficiently. Leveraging Pipedream's capabilities, you can construct workflows that respond to events in Nusii, like a new proposal acceptance, or trigger actions in Nusii based on activities in other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nusii_proposals: {
type: "app",
app: "nusii_proposals",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.nusii.com/api/v2/proposals`,
headers: {
"Authorization": `Token token=${this.nusii_proposals.$auth.api_token}`,
"User-Agent": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})
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`,
},
})
},
})