The immediately productive, shareable cloud database. Bit.io is a zero-config, scalable cloud database with the social and community features of GitHub.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The Bit.io API lets you build applications that interact with the Bit.io platform. Using the API, you can do things like:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bit_io: {
type: "app",
app: "bit_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bit.io/api/v1beta/repos`,
headers: {
Authorization: `Bearer ${this.bit_io.$auth.api_key}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})