with News API and BigML?
Search through millions of articles from over 150,000 large and small news sources and blogs. See the documentation
Create a batch prediction given a Supervised Model ID and a Dataset ID. See the docs.
Retrieve live top and breaking headlines for a category, single source, multiple sources, or keywords. See the documentation
Create a model based on a given source ID, dataset ID, or model ID. See the docs.
Create a source with a provided remote URL that points to the data file that you want BigML to download for you. See the docs.
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`,
},
})
},
})
The BigML API offers a suite of machine learning tools that enable the creation and management of datasets, models, predictions, and more. It's a powerful resource for developers looking to incorporate machine learning into their applications. Within Pipedream, you can leverage the BigML API to automate workflows, process data, and apply predictive analytics. By connecting BigML to other apps in Pipedream, you can orchestrate sophisticated data pipelines that react to events, perform analyses, and take action based on machine learning insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bigml: {
type: "app",
app: "bigml",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bigml.io/andromeda/source`,
params: {
username: `${this.bigml.$auth.username}`,
api_key: `${this.bigml.$auth.api_key}`,
},
})
},
})