with OTO and Loomio?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oto: {
type: "app",
app: "oto",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.oto.$auth.api_url}/rest/v2/accountInfo`,
headers: {
Authorization: `Bearer ${this.oto.$auth.oauth_access_token}`,
},
})
},
})
The Loomio API empowers you to automate your collaborative decision-making processes, integrating your group discussions, proposals, and decisions with other apps and services. By leveraging Pipedream's capabilities, you can seamlessly connect Loomio with hundreds of other applications, creating custom workflows that trigger actions based on events in Loomio, such as new discussions, votes, or comments. This enables you to streamline communication, enhance project management, and foster transparent governance.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loomio: {
type: "app",
app: "loomio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.loomio.org/api/b1/memberships`,
params: {
api_key: `${this.loomio.$auth.api_key}`,
},
})
},
})