A Localization and Translation Software Tool.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lokalise: {
type: "app",
app: "lokalise",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lokalise.com/api2/projects`,
headers: {
Authorization: `Bearer ${this.lokalise.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})