with OpenWeather API and Google Slides?
Retrieves the current weather condition by location longitude and latitude. See the docs here For more accurate reading, you are advised to fill in the country and/or state code
Create a blank presentation or duplicate an existing presentation. See the docs here
Retrieves the current weather for a given (ZIP, country)
Find a presentation on Google Drive. See the docs here
Retrieves 1-16 days weather forecast for a specified location. See the docs here For more accurate reading, you are advised to fill in the country and/or state code
The OpenWeather API offers real-time weather data, forecasts, and historical information, enabling you to integrate weather conditions into your applications or workflows. With Pipedream, you can harness this data to automate tasks like sending weather updates, triggering actions based on specific weather conditions, or combining it with other data sources to inform decision-making processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openweather_api: {
type: "app",
app: "openweather_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.openweathermap.org/data/2.5/weather`,
params: {
zip: `20500,us`,
appid: `${this.openweather_api.$auth.api_key}`,
},
})
},
})
The Google Slides API allows you to create, read, and edit Google Slides presentations programmatically. With Pipedream's integration, you can automate your slide workflows, enabling dynamic content updates, collaboration enhancements, and streamlined reporting. By plugging into Pipedream's serverless platform, you can trigger slide creation or updates based on events from other apps, process data for presentations, and handle sharing and publishing tasks—all with minimal fuss.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_slides: {
type: "app",
app: "google_slides",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_slides.$auth.oauth_access_token}`,
},
})
},
})