Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Search through millions of articles from over 150,000 large and small news sources and blogs. See the documentation
Retrieve live top and breaking headlines for a category, single source, multiple sources, or keywords. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
news_api: {
type: "app",
app: "news_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://newsapi.org/v2/everything`,
headers: {
"X-Api-Key": `${this.news_api.$auth.api_key}`,
},
params: {
"q": `Computer Science`,
},
})
},
})