Trusted by 250,000+ developers from startups to Fortune 500 companies:
This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.
To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.
Weather for ZIP Code on HERE
Description:Emits the weather report for a specific ZIP code on a schedule
Version:0.0.2
Key:here-weather-for-zip
const here = require('../../here.app.js');
module.exports = {
name: 'Weather for ZIP Code',
version: '0.0.2',
key: 'here-weather-for-zip',
description: 'Emits the weather report for a specific ZIP code on a schedule',
props: {
here,
zipCode: {propDefinition: [here, 'zipCode']},
timer: {
type: '$.interface.timer',
default: {
intervalSeconds: 60 * 15,
},
},
},
async run(event) {
const report = await this.here.returnReportForZIP(this.zipCode);
this.$emit(report, {
summary: `Weather report for ${this.zipCode} at ${report.feedCreation}`,
ts: Date.now(),
});
},
};
This component may be configured based on the props
defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
Label | Prop | Type | Description |
---|
HERE | here | app | This component uses the HERE app. |
ZIP code | zipCode | integer | The ZIP code you'd like to pull weather stats for (only supported for locations in the United States)
|
| timer | $.interface.timer | |
HERE uses API keys for authentication. When you connect your HERE account, Pipedream securely stores the keys so you can easily authenticate to HERE APIs in both code and no-code steps.
Sign up for a HERE account, then create a new application and associated API key — see the HERE Authentication Docs for step-by-step instructions.
Enter your API key below.
Build location-aware apps and services using the world’s #1 location platform