with XeggeX and Wolfram Alpha?
Executes a computation query using the Wolfram Alpha API. See the documentation
The XeggeX API offers a gateway to cryptocurrency data, providing access to real-time info on prices, trades, and markets. Integrating this API into Pipedream workflows allows you to automate various crypto-related tasks, such as monitoring price changes, alerting on trading opportunities, or compiling market analysis. With Pipedream’s serverless platform, these workflows can run on events or schedules, interact with other services, and require minimal setup.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xeggex: {
type: "app",
app: "xeggex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.xeggex.com/api/v2/balances`,
headers: {
"Accept": `application/json`,
},
auth: {
username: `${this.xeggex.$auth.api_key}`,
password: `${this.xeggex.$auth.api_secret}`,
},
})
},
})
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`,
},
})
},
})