with OpenWeather API and Google Appsheet?
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
Adds a new row to a specific table in the AppSheet app. See the documentation
Retrieves the current weather for a given (ZIP, country)
Deletes a specific row from a table in the AppSheet app. See the documentation
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 Appsheet API enables programmatic interactions with your custom AppSheet applications, allowing you to streamline processes, automate actions, and interlink your apps with other services. Leveraging Pipedream's powerful serverless platform, you can create workflows that react to events in real-time, automate tasks, and connect to countless other services with minimal effort. Whether you're updating datasets, syncing with external systems, or triggering complex chains of actions, combining AppSheet with Pipedream can supercharge your productivity and enhance your app's capabilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_appsheet: {
type: "app",
app: "google_appsheet",
}
},
async run({steps, $}) {
const data = {
"Action": "Find",
"Properties": `{
"Locale": "en-US",
"Selector": "Filter(Sheet1, true)",
"Timezone":
"Pacific Standard Time"
}`,
}
return await axios($, {
method: "post",
url: `https://api.appsheet.com/api/v2/apps/${this.google_appsheet.$auth.app_id}/tables/{{your_table_here}}/Action`,
headers: {
"ApplicationAccessKey": `${this.google_appsheet.$auth.access_key}`,
},
data,
})
},
})