with CommerceHQ and AccuWeather?
Retrieve current weather conditions for a specific location using its location key. See the documentation
Get daily weather forecast for a specific location with temperature, precipitation, and conditions. See the documentation
Retrieve historical weather data for a specific location and date range. See the documentation
Retrieve hourly weather forecast (1-12 hours) for a specific location with detailed weather data. See the documentation
Search for a location and retrieve its unique location key required for weather API calls. See the documentation
The CommerceHQ API enables merchants to craft seamless e-commerce experiences by automating various aspects of their online store. This API offers endpoints to manage products, orders, customers, and cart operations. With Pipedream, you can harness these capabilities to create custom automation workflows that connect CommerceHQ with a multitude of other services, streamlining operations, enhancing customer engagement, and driving sales.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
commercehq: {
type: "app",
app: "commercehq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.commercehq.$auth.subdomain}.commercehq.com/api/v1/customers`,
auth: {
username: `${this.commercehq.$auth.api_key}`,
password: `${this.commercehq.$auth.api_password}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
accuweather: {
type: "app",
app: "accuweather",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://dataservice.accuweather.com/locations/v1/regions`,
params: {
apikey: `${this.accuweather.$auth.api_key}`,
},
})
},
})