with Hacker News and Wolfram Alpha?
Executes a computation query using the Wolfram Alpha API. See the documentation
The Hacker News API on Pipedream allows you to tap into the vibrant pool of stories, comments, and user data from one of tech's favorite forums. By leveraging this API, you can automate the process of extracting data for analysis, tracking mentions of specific topics, or even monitoring the performance of your own submissions. The real power lies in integrating this wealth of information with other services to create custom, automated workflows that save time and keep you informed.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hacker_news: {
type: "app",
app: "hacker_news",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://hn.algolia.com/api/v1/search_by_date?query=pipedream`,
})
},
})
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`,
},
})
},
})