with Mocean API and GitHub?
Emit new event when the account balance has been updated. See the documentation
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
Retrieve your current account balance with Mocean API. See the documentation
Find issues and pull requests by state and keyword. See the documentation
Send an outbound SMS from your Mocean account. See the documentation
The Mocean API provides tools for sending SMS and making voice calls, enabling you to integrate communication features into your applications or workflows seamlessly. With MoceanAPI on Pipedream, you can automate sending notifications, create alert systems, or even implement two-factor authentication (2FA). It interacts with other apps and services to craft powerful, event-driven automation.
import { axios } from "@pipedream/platform" export default defineComponent({ props: { mocean_api: { type: "app", app: "mocean_api", } }, async run({steps, $}) { return await axios($, { url: `https://rest.moceanapi.com/rest/2/account/balance`, params: { "mocean-api-key": `${this.mocean_api.$auth.api_key}`, "mocean-api-secret": `${this.mocean_api.$auth.api_secret}`, }, }) }, }) 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`, }, }) }, })