with Meteomatics Weather API and Add to Calendar PRO?
Retrieve historic, current, and forecast data globally. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
meteomatics_weather_api: {
type: "app",
app: "meteomatics_weather_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.meteomatics.com/mvt/isolines/2024-06-22T0Z/msl_pressure.hPa/style.json`,
params: {
access_token: `${this.meteomatics_weather_api.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
add_to_calendar_pro: {
type: "app",
app: "add_to_calendar_pro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.add-to-calendar-pro.com/v1/event/all`,
headers: {
"authorization": `${this.add_to_calendar_pro.$auth.api_key}`,
},
})
},
})