with News API and ipdata.co?
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
The ipdata API supports looking up the Mobile Carrier of an IP Address. Our database currently consists of over 2500 carriers in 234 countries. https://docs.ipdata.co/overview/mobile-carrier-detection
We provide detailed and accurate Timezone data, adjusted for DST where necessary. https://docs.ipdata.co/overview/timezone-detection
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 ipdata.co API allows you to enrich IP addresses with geolocation and other relevant data points. With this API integrated into Pipedream, you can automate actions based on the physical location or details of an IP address. This enables a wide range of applications such as customizing content based on user location, flagging fraudulent activity, or tailoring marketing campaigns to specific regions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ipdata_co: {
type: "app",
app: "ipdata_co",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ipdata.co?api-key=${this.ipdata_co.$auth.api_key}`,
})
},
})