with Gitea and Wolfram Alpha?
Executes a computation query using the Wolfram Alpha API. See the documentation
Gitea is an open-source, self-hosted Git service, similar to GitHub. With the Gitea API, you can automate and enhance your software development practices by creating workflows that trigger actions within Gitea or across other connected services. You can manage repositories, automate issue tracking, synchronize with task management systems, and orchestrate continuous integration and deployment processes. Pipedream serves as an integration platform to connect Gitea with hundreds of other apps, allowing for complex automations that can reduce manual effort and improve efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gitea: {
type: "app",
app: "gitea",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gitea.$auth.gitea_url}/api/v1/user`,
headers: {
Authorization: `Bearer ${this.gitea.$auth.apiKey}`,
},
})
},
})
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`,
},
})
},
})