Use weather and climate data from a collection of over 1800 parameters.
Go to siteimport { 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}`,
},
})
},
})
Retrieve historic, current, and forecast data globally. See the documentation
Meteomatics Weather API uses OAuth authentication. When you connect your Meteomatics Weather API account, Pipedream will open a popup window where you can sign into Meteomatics Weather API and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Meteomatics Weather API API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://login.meteomatics.com/api/v1/token
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
GET
https://login.meteomatics.com/api/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{oauth.client_id}}
&
client_secret={{oauth.client_secret}}
&
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}