You can use the Algorithmia API to build programs that perform a variety of tasks, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
algorithmia: {
type: "app",
app: "algorithmia",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.algorithmia.com/v1/algo/demo/Hello/`,
headers: {
"Authorization": `Simple ${this.algorithmia.$auth.YOUR_API_KEY}`,
},
})
},
})
Algorithmia uses API keys for authentication. When you connect your Algorithmia account, Pipedream securely stores the keys so you can easily authenticate to Algorithmia APIs in both code and no-code steps.
API Key management in Algoirthmia is available under the bottom left menu with the Profile icon > Manage API Keys. There's extensive documentation on configuring API Keys at the Developer Center. API Documentation contains detailed info for authenticating requests to the API.