with BC Gov News and HigherGov?
Emit new event when a pursuit is added to the pipeline.
The BC Gov News API provides programmatic access to government news releases, stories, and resources in British Columbia. Leveraging this API on Pipedream allows for the automation of monitoring, distributing, and analyzing news content from the BC government. Developers can create workflows to keep track of the latest updates in various sectors, filter news based on specific interests or keywords, and integrate with other services to disseminate information efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bc_gov_news: {
type: "app",
app: "bc_gov_news",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://news.api.gov.bc.ca//api/Newsletters`,
params: {
"api-version": `1.0`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
highergov: {
type: "app",
app: "highergov",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.highergov.com/api-external/people`,
params: {
api_key: `${this.highergov.$auth.api_key}`,
},
})
},
})