with Lokalise and MailGenius?
Returns daily limit for api token, how many email tests are used in last 24 hours and how many are still remaining for use. See the documentation
Retrieves and downloads files from a specified Lokalise project. See the documentation
Returns generated test email, limit exceeded if daily limit is reached. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailgenius: {
type: "app",
app: "mailgenius",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.mailgenius.com/external/api/audits`,
headers: {
Authorization: `Bearer ${this.mailgenius.$auth.api_token}`,
},
})
},
})