import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wolfram_alpha: {
type: "app",
app: "wolfram_alpha",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.wolframalpha.com/api/v1/llm-api`,
params: {
appid: `${this.wolfram_alpha.$auth.app_id}`,
input: `10`,
},
})
},
})
Executes a computation query using the Wolfram Alpha API. See the documentation
Wolfram Alpha uses API keys for authentication. When you connect your Wolfram Alpha account, Pipedream securely stores the keys so you can easily authenticate to Wolfram Alpha APIs in both code and no-code steps.
Generate and copy your API Key from the Wolfram Alpha Developer Portal