You can use the imgbb API to build a number of different things, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
imgbb: {
type: "app",
app: "imgbb",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.imgbb.com/1/upload`,
params: {
key: `${this.imgbb.$auth.api_key}`,
image: `R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7`,
name: ``,
},
})
},
})
imgbb uses API keys for authentication. When you connect your imgbb account, Pipedream securely stores the keys so you can easily authenticate to imgbb APIs in both code and no-code steps.
The ImgBB API Key is available at their API documentation located in the About menu on the top left, API option.