with KVdb and GitHub?
KVDB is designed for quick and easy integration into projects that need a globally accessible key-value database. To get started, create at API key at https://kvdb.io/
KVDB is designed for quick and easy integration into projects that need a globally accessible key-value database. To get started, create at API key at https://kvdb.io/
Find issues and pull requests by state and keyword. See the documentation
The KVdb API is a key-value store that facilitates simple data storage and retrieval operations. On Pipedream, you can harness this API to build serverless workflows that require quick data access and state management. Whether you're needing to store user preferences, cache data for repeat use, or coordinate distributed processes, KVdb's straightforward RESTful interface can be integrated into Pipedream's workflows to provide persistent storage solutions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kvdb: {
type: "app",
app: "kvdb",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://kvdb.io/${this.kvdb.$auth.api_key}/`,
})
},
})
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`,
},
})
},
})