with npm and AccuWeather?
Emit new event with the latest count of downloads for an npm package. See the documentation
Emit new event when a new version of an npm package is published. See the documentation
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
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}`,
      },
    })
  },
})