with AccuWeather and MailGenius?
Retrieve current weather conditions for a specific location using its location key. See the documentation
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
Get daily weather forecast for a specific location with temperature, precipitation, and conditions. See the documentation
Returns generated test email, limit exceeded if daily limit is reached. See the documentation
Retrieve historical weather data for a specific location and date range. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuweather: {
type: "app",
app: "accuweather",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://dataservice.accuweather.com/locations/v1/regions`,
params: {
apikey: `${this.accuweather.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})