import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
simplelocalize: {
type: "app",
app: "simplelocalize",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.simplelocalize.io/api/v2/projects`,
headers: {
Authorization: `Bearer ${this.simplelocalize.$auth.api_token}`,
},
})
},
})
SimpleLocalize uses API keys for authentication. When you connect your SimpleLocalize account, Pipedream securely stores the keys so you can easily authenticate to SimpleLocalize APIs in both code and no-code steps.