Build location-aware apps and services using the world’s #1 location platform
Emits the weather report for a specific ZIP code on a schedule
Emit new event for each new or modified record in a table
Emit new event for each new or modified record in a view
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Updates a record if recordId
is provided or adds a record to a table.
You can use the HERE API to build a variety of things, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
here: {
type: "app",
app: "here",
}
},
async run({steps, $}) {
// Returns a sample set of weather observations for Berlin
// See https://developer.here.com/documentation/weather/dev_guide/topics/example-weather-observation.html
return await axios($, {
url: `https://weather.ls.hereapi.com/weather/1.0/report.json?apiKey=${this.here.$auth.apikey}&product=observation&name=Berlin-Tegel`,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable_oauth: {
type: "app",
app: "airtable_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/meta/whoami`,
headers: {
Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
},
})
},
})