with News API and Transifex?
Emit new event when a resource language is completely translated, reviewed, or filled up by TM or MT.
Emit new event when the strings of a task are fully translated.
Search through millions of articles from over 150,000 large and small news sources and blogs. See the documentation
Downloads a user-specified file from the Transifex platform. See the documentation
Retrieve live top and breaking headlines for a category, single source, multiple sources, or keywords. See the documentation
Uploads a given file to the Transifex platform. 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`,
},
})
},
})
Transifex is a powerful cloud-based platform designed to help teams manage multilingual content effectively. With the Transifex API, you can automate the syncing of translations, manage localization projects, and streamline communication between developers and translators. Integrating Transifex with Pipedream allows you to connect your localization workflow with other services like GitHub, Slack, or email providers, enhancing productivity and reducing manual work.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
transifex: {
type: "app",
app: "transifex",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.api.transifex.com/organizations`,
headers: {
Authorization: `Bearer ${this.transifex.$auth.api_token}`,
"Accept": `application/vnd.api+json`,
},
})
},
})