with News API and Scoro?
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`,
},
})
},
})
Scoro is a comprehensive solution that combines project management, time tracking, and CRM functionalities. With the Scoro API, you can automate your business workflows, sync data across different systems, and enhance productivity by reducing manual tasks. The API allows you to access, manipulate, and integrate your Scoro data with other services. When used on Pipedream, you can create serverless workflows to connect Scoro with hundreds of other apps, respond to Scoro events in real-time, and automate actions based on triggers from within Scoro or other platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scoro: {
type: "app",
app: "scoro",
}
},
async run({steps, $}) {
const data = {
"company_account_id": `${this.scoro.$auth.company_name}`,
"apiKey": `${this.scoro.$auth.api_key}`,
"lang": `eng`,
}
return await axios($, {
method: "post",
url: `https://${this.scoro.$auth.company_name}.scoro.com/api/v2/companyAccount/list`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})