We serve accurate, fast, and highly available Weather API's.
Emit new event when a database is created. Note: Databases must be shared with your Pipedream Integtration to trigger event.
Emit new event when a page or one of its sub-pages is updated.
Emit new event when a page in a database is updated. To select a specific page, use Updated Page ID
instead
Fetch current weather from a location. See docs here
Creates and appends blocks to the specified parent. See the documentation
Fetch daily forecast weather from a location. See docs here
Creates a page from a parent page. The only valid property is title. See the documentation
Fetch historical wheater data from a location. See docs here
The Weatherbit.io API offers real-time weather data, forecasts, and historical weather information. By integrating this API with Pipedream, you can automate tasks based on weather conditions, set up alerts, or enrich your app with weather data. This can range from triggering workflows when certain weather thresholds are met, to augmenting business data with weather insights, or automating smart home devices in response to the weather.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
weatherbit_io: {
type: "app",
app: "weatherbit_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.weatherbit.io/v2.0/current`,
params: {
key: `${this.weatherbit_io.$auth.api_key}`,
city: `{your_city}`,
},
})
},
})
Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Leveraging Pipedream's platform, you can build workflows that connect Notion with a myriad of other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
notion: {
type: "app",
app: "notion",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.notion.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
"Notion-Version": `2021-08-16`,
},
})
},
})