with Wolfram Alpha and Bump.sh?
Executes a computation query using the Wolfram Alpha API. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bump_sh: {
type: "app",
app: "bump_sh",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bump.sh/api/v1/hubs`,
headers: {
"authorization": `Token ${this.bump_sh.$auth.api_key}`,
},
})
},
})