Providing the public national air quality information and real-time AQI conditions for over 400 cities across the US.
Creates a new customer. See the documentation
Retrieves a sales order by ID. See the documentation
Updates an existing customer. See the documentation
The AirNow API provides access to real-time air quality data from across the United States, offering insights into the AQI (Air Quality Index) for various pollutants. With this data, developers can create applications that inform users about the air quality in their immediate environment or trigger actions based on changes in pollution levels. On Pipedream, one can leverage AirNow's data to automate notifications, integrate environmental data into smart home systems, or even drive data analysis and reporting for health and safety monitoring.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airnow: {
type: "app",
app: "airnow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.airnowapi.org/aq/forecast/zipCode/`,
params: {
format: `application/json`,
API_KEY: `${this.airnow.$auth.api_key}`,
zipCode: `YOUR_ZIP_CODE`,
},
})
},
})
The Microsoft Dynamics 365 Business Central API enables you to streamline business processes by automating tasks and integrating with other services. With this API, you can access Dynamics 365 Business Central data such as financials, sales, service, and operations. It's perfect for creating custom workflows in Pipedream that can manipulate data, synchronize information across platforms, generate reports, and notify team members of important events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dynamics_365_business_central_api: {
type: "app",
app: "dynamics_365_business_central_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/beta/me`,
headers: {
Authorization: `Bearer ${this.dynamics_365_business_central_api.$auth.oauth_access_token}`,
},
})
},
})