with News API and FormTitan?
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`,
},
})
},
})
The FormTitan API enables interaction with FormTitan's form-building and lead-capture capabilities programmatically. With Pipedream, you can harness this API to automate form data processing, synchronize data across various platforms, and trigger actions based on form submissions. This can streamline complex workflow scenarios, such as lead nurturing, survey data analysis, and customer feedback management, without the need to manually intervene.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
formtitan: {
type: "app",
app: "formtitan",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.formtitan.$auth.account}.formtitan.com/api/v1/users`,
headers: {
"ftAPIKey": `${this.formtitan.$auth.api_key}`,
},
})
},
})